/* CSS RESET & NORMALIZE */
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, 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.6;
  min-height: 100vh;
  background: #fafdff;
  color: #22476b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #22476b;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #f2b531;
  outline-offset: 2px;
}
strong {
  font-weight: 700;
}

/* ROOT VARIABLES */
:root {
  --color-primary: #22476b;
  --color-secondary: #e3e6e8;
  --color-accent: #f2b531;
  --color-accent-light: #ffe6a0;
  --color-bg: #fafdff;
  --color-white: #fff;
  --color-dark: #1a2230;
  --radius-main: 20px;
  --radius-small: 12px;
  --shadow-card: 0 3px 18px rgba(34, 71, 107, 0.09);
  --shadow-hover: 0 8px 32px rgba(242,181,49,0.12), 0 0.5px 3px rgba(34,71,107,0.09);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #1a2230;
    color: #fff;
  }
  .section, .footer-contact, .footer-links, .footer-legal {
    background: #223656;
  }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
  line-height: 1.1;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 22px;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.15rem;
}
p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  margin-bottom: 18px;
  color: var(--color-dark);
  background-color: #8f8f8f;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.11rem; }
  p { font-size: 16px; }
}

/* PLAYFUL FONT ACCENTS */
h1, h2, .button-primary, .button-secondary {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

hr {
  border: none;
  border-top: 1.5px dashed var(--color-accent);
  margin: 32px 0;
}

/* SECTION SPACING & WRAPPERS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px 24px 8px;
    border-radius: var(--radius-small);
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HEADER */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(34,71,107,0.07);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
}
header a img {
  display: block;
  height: 40px;
  transition: transform 0.2s;
}
header a img:hover {
  transform: rotate(-6deg) scale(1.05);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  position: relative;
}
.main-nav a:not(.button-primary):hover {
  color: var(--color-accent);
  background: var(--color-secondary);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}
.button-primary {
  background: var(--color-accent);
  color: var(--color-primary)!important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 24px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(242,181,49,0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  margin-left: 16px;
  text-align: center;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #ffd760;
  color: #173658!important;
  box-shadow: 0 0 0 3px #f5c45b66, var(--shadow-hover);
  outline: none;
  transform: scale(1.04) rotate(-3deg);
}
.button-secondary {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34,71,107,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  text-align: center;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  .button-primary {
    margin-left: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  box-shadow: 0 1px 8px #f2b53130;
  transition: background 0.18s, transform 0.18s;
  cursor: pointer;
  z-index: 108;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #ffe6a0;
  transform: scale(1.08); 
  outline: 2px solid var(--color-accent);
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(242,181,49,0.91);
  z-index: 200;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.76,.22,.36,1.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px;
  padding-left: 0;
  box-shadow: 0 4px 40px rgba(34, 71, 107,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 20px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  outline: 2px solid var(--color-primary);
  transform: scale(1.11) rotate(-8deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px 24px 32px;
  width: 100vw;
  box-sizing: border-box;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.33rem;
  color: var(--color-primary);
  background: #fff2;
  border-radius: 18px;
  padding: 13px 20px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, transform 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-white);
  color: var(--color-accent);
  transform: scale(1.03);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(102deg, #ffe6a0 0%, #fafdff 100%);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 54px 0 44px 0;
  animation: hero-pop 1s cubic-bezier(.66,.14,.31,.94) 0s 1;
}
@keyframes hero-pop {
  0% { opacity:0; transform: scale(0.98) translateY(40px); }
  100% { opacity:1; transform: scale(1) translateY(0px); }
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  text-shadow: 2px 4px 0 #ffe6a088;
  font-size: 2.7rem;
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  animation: bouncein 1.3s ease 0.1s 1;
}
@keyframes bouncein {
  0%   {transform: scale(0.99) translateY(30px);}
  40%  {transform: scale(1.05) translateY(-12px);}
  60%  {transform: scale(0.97) translateY(8px);}
  100% {transform: scale(1) translateY(0px);}
}
.hero p {
  font-size: 1.22rem;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 18px 0;
    margin-bottom: 38px;
    border-radius: var(--radius-small);
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* FEATURE GRID - DYNAMIC/POSITIVE */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 0px;
  min-width: 240px;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 1.5px 9px rgba(34,71,107,0.09);
  padding: 25px 18px 20px 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div img {
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px #f2b53133);
}
.feature-grid > div h3 {
  margin-bottom: 7px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.22rem;
}
.feature-grid > div p {
  font-size: 1rem;
  color: #22476bcc;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 24px #f2b53140, 0 2px 8px #22476b11;
  transform: translateY(-4px) scale(1.025) rotate(-2.5deg);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: unset;
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARDS & CTA SECTIONS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px #f2b53140;
  transform: scale(1.022) rotate(-2deg);
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  flex: 1 1 290px;
  min-width: 260px;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow 0.14s, transform 0.14s;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 24px #f2b53140, 0 2px 10px #22476b0b;
  transform: rotate(-2.2deg) scale(1.02);
}
@media (max-width: 1050px) {
  .service-cards {
    flex-direction: column;
  }
  .service-card {
    min-width: 80%;
  }
}

.cta {
  margin-bottom: 30px;
  padding: 30px 0 44px 0;
  background: linear-gradient(99deg, #f2b531 9%, #e3e6e8 98%);
  color: var(--color-primary);
  border-radius: var(--radius-main);
  box-shadow: 0 2px 12px #22476b09;
  text-align: center;
  animation: popCTA 1.1s cubic-bezier(.62,.28,.53,.98) 0s 1;
}
@keyframes popCTA {
  0% { opacity:0; transform: scale(0.95) translateY(30px); }
  100% { opacity:1; transform: scale(1) translateY(0px); }
}
.cta .button-primary {
  margin-top: 18px;
  font-size: 1.18rem;
  padding: 14px 36px;
}
.cta h2 {
  color: #22476b;
}
@media (max-width: 768px) {
  .cta {
    border-radius: 15px;
    padding: 20px 0 21px 0;
  }
}

/* TESTIMONIAL CARDS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  flex-direction: column;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 22px;
  min-height: 80px;
  background: #fff9e6;
  border-left: 8px solid var(--color-accent);
  border-radius: 22px;
  box-shadow: 0 2.5px 15px #f2b53118, 0 1.5px 5px #22476b10;
  margin-bottom: 20px;
  position: relative;
  overflow: visible;
  font-family: var(--font-body);
  color: #222;
  transition: box-shadow 0.14s, transform 0.13s;
}
.testimonial-card blockquote {
  color: #223;
  font-size: 1.085rem;
  font-style: italic;
  margin-right: 16px;
  flex: 1 1 auto;
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-card div {
  font-weight: 600;
  font-size: 1rem;
  color: #22476b;
}
.testimonial-card:before {
  content: "\201C";
  font-size: 3.3rem;
  color: var(--color-accent);
  position: absolute;
  top: -22px;
  left: 4px;
  z-index: 2;
  opacity: 0.19;
  pointer-events: none;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 28px #f2b5312b;
  transform: scale(1.017) rotate(-1.5deg);
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 17px 13px 16px 14px;
    border-radius: 18px;
  }
  .testimonial-card blockquote {
    margin-right: 0;
    font-size: 1rem;
  }
}

/* CONTENT GRIDS (flex wrapping) */
.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* SERVICES & FEATURE/BENEFITS LISTS */
.services ul, .features ul, .features ol, .about ul, .about ol, .news ul {
  list-style-position: outside;
  list-style-type: disc;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  margin-left: 30px;
}
.services ul li, .features ul li, .about ul li, .news ul li {
  margin-bottom: 9px;
  padding-left: 2px;
  position: relative;
  line-height: 1.6;
}
.features ul {
  margin-top: 12px;
}
.features ol {
  list-style: decimal inside;
  margin-left: 30px;
  margin-top: 12px;
}

/* GENERIC CARD & SECTION SPACING */
.section, 
.card-container, 
.card, 
.content-grid, 
.text-image-section, 
.testimonial-card, 
.feature-item {
  margin-bottom: 0;
}
.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;
}

/* CONTACT, NEWS, LEGAL */
.contact > .container > .content-wrapper > div > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.contact strong {
  font-weight: 700;
  color: var(--color-primary);
}

.legal h1, .legal h2, .legal h3 {
  color: var(--color-primary);
}
.legal ul {
  margin-bottom: 22px;
}

@media (max-width: 830px) {
  .footer-contact {
    min-width: 180px;
  }
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 0;
  margin-top: 40px;
  box-shadow: 0 -2px 18px #22476b0c;
  border-radius: 32px 32px 0 0;
}
footer .container {
  padding: 16px 10px 8px 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 0 10px 0;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  font-weight: 700;
}
.footer-brand img {
  height: 34px;
}
.footer-contact, .footer-links, .footer-legal, .footer-social {
  min-width: 185px;
  margin-bottom: 16px;
}
.footer-contact h3, .footer-links h3, .footer-legal h3, .footer-social h3 {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.04rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.footer-contact p, .footer-links ul, .footer-legal ul {
  font-size: 0.97rem;
  color: #ffe6a0;
}
.footer-links a, .footer-legal a {
  color: #ffe6a0;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: color 0.19s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: var(--color-accent);
  text-decoration: underline wavy 2px;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social a {
  display: inline-block;
  margin-right: 10px;
}
.footer-social img {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 2px 6px #f2b53133);
  transition: transform 0.12s;
}
.footer-social img:hover {
  transform: scale(1.13) rotate(-11deg);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-contact, .footer-links, .footer-legal, .footer-social {
    min-width: unset;
    flex: 1 1 240px;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    padding: 8px 0 4px 0;
 }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff9e6;
  box-shadow: 0 -4px 32px #22476b19;
  border-top: 6px solid var(--color-accent);
  z-index: 2090;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 18px 16px 26px;
  font-size: 1.04rem;
  font-family: var(--font-body);
  animation: cookieUp 0.6s cubic-bezier(.72,.1,.32,.98) 0s 1;
}
@keyframes cookieUp {
  0% { opacity:0; transform: translateY(120%); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  color: var(--color-primary);
  flex: 1 0 200px;
  font-size: 1.04rem;
  line-height: 1.5;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  padding: 9px 20px;
  border-radius: 18px;
  margin: 0 1px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 1px 7px #f2b53115;
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: #eaeaea;
  color: #22476b;
}
.cookie-banner .settings {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 2px 18px #f2b53130;
  outline: none;
}
@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 8px 13px 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(34, 71, 107, 0.22);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: overlayfadein .26s cubic-bezier(.61,.22,.44,1.01) 0s 1;
}
@keyframes overlayfadein {
  0% { opacity:0; } 100% { opacity:1; }
}
.cookie-modal {
  background: #fff9e6;
  color: #22476b;
  border-radius: 28px;
  box-shadow: 0 10px 44px #f2b5312c;
  max-width: 97vw;
  width: 400px;
  padding: 36px 30px 24px 30px;
  position: relative;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPop 0.38s cubic-bezier(.62,.18,.43,1.18) 0s 1;
}
@keyframes cookieModalPop {
  0% { opacity:0; transform: scale(0.85) translateY(38px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin: 0 0 10px 0;
  color: var(--color-primary);
  font-size: 1.26rem;
  font-family: var(--font-display);
}
.cookie-modal label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.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: #e3e6e8;
  border-radius: 20px;
  transition: background 0.25s;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-accent);
  border-radius: 50%;
  transition: transform 0.3s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-accent);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
  background: var(--color-primary);
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .cookie-modal-buttons .button-primary,
.cookie-modal .cookie-modal-buttons .button-secondary {
  padding: 9px 18px;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #f2b531;
  cursor: pointer;
  padding: 0;
  transition: color 0.16s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--color-primary);
  outline: none;
}

/* CONFIRMATION/THANK YOU */
.confirmation {
  background: #fffbe7;
  border-radius: 20px;
  box-shadow: 0 1px 8px #f2b53125;
  padding: 40px 12px 38px 12px;
  margin-bottom: 38px;
  animation: hero-pop 1s cubic-bezier(.66,.14,.31,.94) 0s 1;
}
.confirmation h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.confirmation p {
  font-size: 1.08rem;
  color: var(--color-dark);
}

/* ANIMATIONS / MICRO-INTERACTIONS */
.button-primary, .button-secondary {
  position: relative;
  overflow: hidden;
}
.button-primary::after, .button-secondary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.11;
  background: var(--color-white);
  transition: opacity 0.36s;
  pointer-events: none;
}
.button-primary:active::after,
.button-secondary:active::after {
  opacity: 0.35;
}

@media (max-width: 500px) {
  .hero, .section {
    padding: 10px 3px 10px 3px;
    border-radius: 9px;
  }
  .cta {
    border-radius: 10px;
    padding: 12px 3px 18px 3px;
  }
}

/* Energetic / Playful Details */
h1, h2, h3, .button-primary, .service-card h3 {
  font-family: var(--font-display), Arial, sans-serif;
  letter-spacing: 0.02em;
}
.feature-grid > div, .service-card, .testimonial-card {
  position: relative;
  overflow: hidden;
}
.feature-grid > div:after, .service-card:after {
  content: '';
  position: absolute;
  right: -36px;
  bottom: -18px;
  width: 62px;
  height: 62px;
  background: #ffe6a0;
  border-radius: 50%;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

/* Focus Styles for Accessibility */
.button-primary:focus,
.button-secondary:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1.5px;
}

/* Scrollbar Styling (visible on desktop) */
::-webkit-scrollbar {
  height: 10px;
  width: 10px;
  background: #e3e6e8;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #f2b531;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #e3e6e8;
  border-radius: 8px;
}

/* Hide scrollbar in mobile menu overlay (for immersive feel) */
@media (max-width: 900px) {
  .mobile-menu {
    overflow-y: auto;
    min-height: 100vh;
  }
  .mobile-nav {
    height: calc(100vh - 70px);
    overflow-y: auto;
  }
}
