/* --------------------------------------------------------------------------
   Pulsar Flow CSS – Creative Artistic style, Flexbox-only Responsive Design
   --------------------------------------------------------------------------
   Design Aesthetic: vibrant, creative, artistic, with adventurous, eco-friendly vibe
   Brand Colors: Primary #22543D, Accent #617D8A, Light #EDEBD7, Secondary #FFFFFF, Dark #193947
   Fonts: Montserrat (Display), Roboto (Body), plus a hand-drawn accent for highlights
   --------------------------------------------------------------------------
   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,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.4;
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  background: #EDEBD7;
  color: #193947;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
input,textarea,select,button {
  font-family: inherit;
  outline: none;
}

/* --------------------------------------------------------------------------
   FONT IMPORTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

:root {
  --primary: #22543D;
  --primary-dark: #193947;
  --accent: #617D8A;
  --bg-light: #EDEBD7;
  --white: #FFFFFF;
  --gray: #f4f4f4;
  --border: #B8C2B9;
  --shadow: 0 2px 16px rgba(34, 84, 61, 0.14);
  --shadow-elevated: 0 8px 32px rgba(34, 84, 61, 0.21);
  --radius-sm: 12px;
  --radius-lg: 22px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --font-artistic: 'Permanent Marker', cursive;
}

/* --------------------------------------------------------------------------
   LAYOUT BASICS & CONTAINER
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--primary-dark);
  font-size: 16px;
  min-height: 100vh;
}
.container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
@media (min-width: 900px) {
  .content-wrapper.text-section {
    max-width: 820px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.16;
  color: var(--primary);
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.17rem;
}

p, li, ul {
  font-size: 1.04rem;
  font-family: var(--font-body);
}
.subheadline {
  font-family: var(--font-artistic);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.legal h1, .legal h2 {
  color: var(--primary-dark);
}
.text-section ul {
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}
.text-section li {
  margin-bottom: 0.4em;
  position: relative;
  padding-left: 1.5em;
}
.text-section li:before {
  content: '✱';
  font-family: var(--font-artistic);
  color: var(--accent);
  position: absolute;
  left: 0.2em;
  top: 0px;
  font-size: 1em;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   FLEXBOX UTILITY CLASSES (FIELD SPECIFIC)
   -------------------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.25s cubic-bezier(.3,.7,.4,1.5);
}
.card:hover {
  box-shadow: var(--shadow-elevated);
}
.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;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(97, 125, 138, 0.13);
  color: #1a2531;
  position: relative;
  min-width: 0;
  flex: 1 1 320px;
  transition: box-shadow 0.23s linear, transform 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(34, 84, 61, 0.21);
  transform: translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------------------------------------------
   MAIN NAVIGATION DESKTOP
   -------------------------------------------------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(34,84,61, 0.08);
  position: relative;
  z-index: 9;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  width: 100%;
}
.main-nav .logo {
  height: 48px;
  width: auto;
  margin-right: 10px;
  transition: transform 0.18s;
}
.main-nav .logo:hover {
  transform: scale(1.06) rotate(-2deg);
}
.main-nav ul {
  display: flex;
  gap: 18px;
  margin: 0 10px;
}
.main-nav li {
  list-style-type: none;
}
.main-nav a {
  padding: 7px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--primary-dark);
  border-radius: 8px;
  position: relative;
  transition: color 0.12s, background 0.16s, box-shadow 0.18s;
}
.main-nav a:hover:not(.btn-primary) {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 16px rgba(34,84,61, .15);
}

/* Desktop primary CTA button */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: bold;
  letter-spacing: .04em;
  padding: 10px 26px;
  margin-left: 12px;
  box-shadow: 0 2px 16px rgba(34, 84, 61, 0.10);
  transition: background 0.19s, box-shadow 0.18s, transform .15s;
  border: 2px solid var(--primary);
  position: relative;
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.045) rotate(-1deg);
  box-shadow: var(--shadow-elevated);
}

/* Secondary button for lists */
.btn-secondary {
  background: var(--accent);
  color: var(--white);
  border-radius: 99px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 10px 22px;
  margin-top: 20px;
  border: 2px solid var(--accent);
  transition: background .17s, color .15s;
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION (Burger)
   -------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border: none;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 11;
  box-shadow: 0 2px 14px rgba(34, 84, 61, 0.20);
  transition: background .14s,color .13s;
}
.mobile-menu-toggle:hover {
  background: var(--accent);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 84, 61, 0.97);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.175,1);
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: -4px 0 24px rgba(34,84,61,0.24);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--white);
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(34,84,61,0.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 100px 34px 0 34px;
  font-size: 1.35rem;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  background: none;
  padding: 12px 0;
  margin-bottom: 4px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--bg-light);
}
@media (max-width: 1100px) {
  .main-nav ul {
    gap: 10px;
  }
  .btn-primary {
    padding: 10px 15px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 6px;
  }
  .main-nav {
    padding: 10px 0;
  }
  .btn-primary {
    margin-left: 4px;
    padding: 9px 11px;
    font-size: .99rem;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important;}
}

/* --------------------------------------------------------------------------
   HERO / MAIN VISUALS
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #EDEBD7 85%, #fffbe7 100%);
  padding: 60px 0 40px 0;
  min-height: 340px;
  position: relative;
  box-shadow: 0 4px 24px rgba(97, 125, 138, 0.06);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: -40px;
  top: -40px;
  width: 220px;
  height: 180px;
  background: var(--accent);
  opacity: 0.06;
  border-radius: 120px/90px;
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero p {
  font-size: 1.23rem;
  max-width: 600px;
  margin-bottom: 15px;
}

/* Artistic elements for sections */
section {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  box-shadow: 0 2px 14px rgba(225,235,215, .12);
  margin-bottom: 60px;
  padding: 40px 20px;
  overflow: visible;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -16px;
  right: 24px;
  width: 80px;
  height: 50px;
  border-radius: 80px 100px 100px 80px;
  background: var(--primary);
  opacity: 0.044;
}
section.contact .container{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow:  0 8px 18px rgba(97, 125, 138, 0.07);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   FEATURES, SERVICES, CARDS, LISTS
   -------------------------------------------------------------------------- */
.features .content-wrapper,
.services .content-wrapper { gap: 24px; }
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 24px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}
.features li,
.services li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 14px 19px 14px 16px;
  min-width: 256px;
  box-shadow: var(--shadow);
  font-size: 1.02rem;
  font-family: var(--font-body);
  margin-bottom: 0; /* Let flexbox gap handle vertical spacing */
  transition: box-shadow .21s,transform .18s;
}
.features li img,
.services li img {
  width: 37px;
  height: 37px;
  background: #fff6d8;
  border-radius: 50%;
  box-shadow: 0 1px 7px rgba(34,84,61,0.11);
  margin-right: 7px;
  flex-shrink: 0;
}
.features li:hover,
.services li:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px) scale(1.025);
}
.services li .service-price {
  font-family: var(--font-artistic);
  color: var(--accent);
  font-size: 1.15em;
  margin-left: 8px;
  background: #f7fff2;
  border-radius: 7px;
  padding: 1px 8px;
}

/* Distinctive Section Titles */
.features h2, .services h2, .contact h2, .testimonials h2, .team h2 {
  font-size: 2rem;
  color: var(--accent);
  font-family: var(--font-artistic), var(--font-display);
  margin-bottom: 10px;
  position: relative;
}
.features h2:after, .services h2:after, .contact h2:after, .testimonials h2:after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.48;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin-top: 14px;
}
.testimonial-card {
  background: var(--white);
  color: #29384b;
  font-size: 1.07rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 250px;
  max-width: 430px;
  margin-bottom: 0; /* Let flex gap work */
  flex: 1 1 340px;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  font-style: italic;
  color: var(--accent);
  font-size: 1.08rem;
  line-height: 1.42;
  margin-bottom: 10px;
  font-family: var(--font-artistic), var(--font-body);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--primary-dark);
  font-family: var(--font-body);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   CONTACT / RECAP SECTION
   -------------------------------------------------------------------------- */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
  color: var(--primary);
  font-family: var(--font-display);
  background: #f9faf6;
  border-radius: 8px;
  padding: 9px 13px;
  box-shadow: 0 1px 5px rgba(34,84,61,0.07);
}
.contact ul li img {
  width: 23px;
  height: 23px;
  filter: brightness(0.7);
}
.contact ul li a {
  color: var(--primary-dark);
  font-family: var(--font-body);
  text-decoration: underline dotted var(--accent) 1px;
  margin-left: 3px;
  transition: color .13s;
}
.contact ul li a:hover,
.contact ul li a:focus {
  color: var(--accent);
}
.contact .btn-primary {
  margin-top: 8px;
}
.contact-map {
  margin: 6px 0 20px 0;
  background: #f3faff;
  border-radius: 9px;
  padding: 16px 10px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 60px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -2px 22px rgba(34,84,61,.10);
  padding-top: 38px;
}
footer .container {
  padding: 0 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  opacity: .77;
  transition: opacity .16s, color .16s;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--accent);
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact-info img {
  width: 17px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  transition: transform .18s;
}
.footer-social a img:hover {
  transform: rotate(-7deg) scale(1.13);
}
.footer-copy {
  margin-top: 16px;
  font-size: .93rem;
  color: #cce8db;
  width: 100%;
}

/* --------------------------------------------------------------------------
   LEGAL & CONFIRMATION SECTIONS
   -------------------------------------------------------------------------- */
.legal, .confirmation-message {
  background: #fafbfa;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(34,84,61,0.12);
  padding: 32px 18px;
  margin: 60px auto 0 auto;
}
.legal h1, .confirmation-message h1 {
  color: var(--primary);
  margin-bottom: 18px;
}
.legal ul, .confirmation-message ul {
  margin: 8px 0 14px 22px;
  list-style-type: disc;
}
.legal li, .confirmation-message li {
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.11rem; }
  section, .legal, .confirmation-message {
    padding: 19px 6px !important;
    border-radius: var(--radius-sm);
  }
  .content-wrapper.text-section { padding: 0; }
  .features ul, .services ul { flex-direction: column; gap: 18px 0; }
  .features li, .services li { min-width: 0; padding:12px 12px 12px 14px; font-size: 1.01rem; }
  .testimonial-card { min-width: 170px; max-width: 98vw; padding: 14px 9px; }
  .testimonials .content-wrapper { gap: 15px; }
  .footer-social { gap: 7px; }
  .content-wrapper { gap: 14px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .main-nav .logo { height:40px; }
  .footer-contact-info p, .footer-copy { font-size: 0.98em; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { padding: 32px 0 22px 0; }
  footer { padding-top: 16px; }
}

/* --------------------------------------------------------------------------
   GAP ALIGNMENT ENFORCEMENT
   -------------------------------------------------------------------------- */
.section, section, .container, .content-wrapper, .card-container, .content-grid, .testimonials .content-wrapper, .features ul, .services ul {
  gap: 20px;
}
.card-container, .content-grid, .testimonials .content-wrapper {
  margin-bottom: 20px;
}
/* Guarantee minimal margins between cards/sections */
.card, .testimonial-card, section, .section { margin-bottom: 20px; }
/* Prevent content overlapping */
*:not(html):not(body) {
  z-index: auto;
  position: relative;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   MICRO-INTERACTIONS, TRANSITIONS, HOVER EFFECTS
   -------------------------------------------------------------------------- */
a, button, .btn-primary, .btn-secondary, .main-nav a, .footer-nav a, .footer-social a img{
  transition: background .15s, color .15s, box-shadow .20s, transform .18s;
}
.card, .testimonial-card, .features li, .services li {
  transition: box-shadow .21s, background .15s, transform .14s;
}
.btn-primary:active,.btn-secondary:active {
  transform: scale(0.97);
}

/* Text select customization */
::selection {
  background: var(--accent);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   COOKIE CONSENT BANNER (fixed bottom) & MODAL
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 99998;
  background: linear-gradient(90deg, var(--white) 65%, var(--bg-light) 100%);
  color: var(--primary-dark);
  box-shadow: 0 -2px 18px rgba(97, 125, 138, 0.16);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-radius: 19px 19px 0 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .3s cubic-bezier(.33,1,.68,1),transform .35s cubic-bezier(.33,1,.68,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  color: var(--primary-dark);
  flex: 1 1 180px;
  font-family: var(--font-body);
  margin-right: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px; flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  border-radius: 24px;
  padding: 7px 17px;
  border: none;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 1px 5px rgba(97, 125, 138, 0.08);
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.cookie-banner .accept:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-banner .reject {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-left: 0;
}
.cookie-banner .reject:hover {
  background: var(--primary);
  color: var(--white);
}
.cookie-banner .settings {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.cookie-banner .settings:hover {
  background: var(--accent);
  color: var(--white);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,54,61,0.51);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .30s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px 26px 24px;
  min-width: 0;
  max-width: 350px;
  width: 93vw;
  box-shadow: 0 8px 48px rgba(34,84,61,.18), 0 2px 16px rgba(225,235,215, .09);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  background: var(--accent);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(34,84,61,0.15);
  border: none;
  transition: background .15s;
}
.cookie-modal-close:hover {
  background: var(--primary);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 7px;
  font-size: 1.13rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  background: #fafffa;
  border-radius: 8px;
  padding: 8px 13px;
  margin-bottom: 0;
}
.cookie-category input[type='checkbox'] {
  width: 24px;
  height: 24px;
}
.cookie-category label {
  font-family: var(--font-body);
  color: var(--primary-dark);
  font-size: 1rem;
}
.cookie-category.essential label {
  font-style: italic;
  color: var(--primary);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  padding: 8px 17px;
  border-radius: 22px;
  font-weight: 700;
}
.cookie-modal-actions .close {
  background: var(--white);
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-modal-actions .close:hover {
  background: var(--accent);
  color: var(--white);
}
.cookie-modal-actions .save {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.cookie-modal-actions .save:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: .99rem;
    border-radius: 12px 12px 0 0;
    padding: 12px 8px 12px 14px;
  }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY ENHANCEMENTS
   -------------------------------------------------------------------------- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* End Pulsar Flow CSS */
