/* ---------------------------------------------------
   CSS RESET & BASELINE 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 {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FFFAF4;
  color: #2C555D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: #2C555D;
  text-decoration: none;
  transition: color 0.25s;
  outline: none;
}
a:hover,
a:focus {
  color: #78A984;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
}

/* ---------------------------------------------------
   VARIABLES (WITH FALLBACKS)
--------------------------------------------------- */
:root {
  --color-primary: #2C555D;
  --color-secondary: #78A984;
  --color-accent: #FFECD8;
  --color-bg-light: #FFF9F3;
  --color-bg: #FFFAF4;
  --color-text: #2C555D;
  --color-text-soft: #495A58;
  --color-card: #FFF7ED;
  --color-shadow: rgba(44, 85, 93, 0.08);
  --color-shadow-strong: rgba(44, 85, 93, 0.13);
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-btn: 24px;
  --shadow-sm: 0 2px 8px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow-strong);
  --shadow-btn: 0 1px 4px var(--color-shadow);
  --transition-main: all 0.22s cubic-bezier(.6,.16,.24,1);
  --spacing-section: 60px;
  --spacing-container: 24px;
  --spacing-card-gap: 24px;
}

/* ---------------------------------------------------
   LAYOUT CONTAINERS & SECTION SPACING
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: #2C555D;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.625rem; /* 42px */
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 13px;
  line-height: 1.22;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 9px;
  line-height: 1.22;
}
.section h2 {
  color: #2C555D;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #2C555D;
  background: var(--color-accent);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 28px 32px 24px 24px;
  margin: 0 0 28px 0;
  box-shadow: var(--shadow-sm);
}
blockquote span {
  display: block;
  font-style: italic;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 6px;
  color: #78A984;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #495A58;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: #2C555D;
}
.date, .author {
  font-size: 0.96rem;
  color: #617d74;
  font-family: var(--font-body);
}
ul.certifications li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  background: url('../assets/icons/checkmark.svg') no-repeat center center;
  background-size: contain;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION (DESKTOP & MOBILE)
--------------------------------------------------- */
header {
  background: #FFF;
  box-shadow: var(--shadow-sm);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 998;
}
header .container {
  min-height: 78px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header img[alt="Armonia Quotidiana"] {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2C555D;
  padding: 7px 0;
  border-radius: 7px;
  transition: color 0.18s, background 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header .cta.primary {
  margin-left: 16px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #2C555D;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-btn);
  transition: background 0.22s, color 0.17s;
}
.mobile-menu-toggle:active {
  background: #FFE0BD;
}
/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.61,.65,.41,1.01);
  box-shadow: -6px 0 18px rgba(44,85,93,0.08);
  padding: 36px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-accent);
  color: #E87C1D;
  font-size: 2.1rem;
  line-height: 1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, color 0.18s;
}
.mobile-menu-close:active {
  background: #FFE0BD; color: #B25A03;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 16px 0;
  color: #2C555D;
  border-bottom: 1px solid #FFECD8;
  width: 100%;
  border-radius: 7px;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  background: none;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFECD8;
  color: #78A984;
}
/* Hide nav on mobile, show burger */
@media (max-width: 970px) {
  header nav,
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
/* Mobile menu covers fully on mobile/tablet */
@media (max-width: 970px) {
  .mobile-menu {
    width: 100vw;
    min-height: 100vh;
    padding-top: 44px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 28px;
  }
}

/* ---------------------------------------------------
   BUTTONS & CTAs
--------------------------------------------------- */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--color-secondary);
  color: #FFF;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
  min-height: 48px;
  margin: 12px 0;
  transition: var(--transition-main);
  letter-spacing: 0.01em;
}
.cta.primary, .cta.primary:visited {
  background: var(--color-primary);
  color: #FFF;
}
.cta:hover, .cta:focus {
  background: #FFBC80;
  color: #2C555D;
  box-shadow: 0 2px 16px rgba(255,195,111,0.10);
}
.cta.primary:hover, .cta.primary:focus {
  background: #397873;
  color: #FFF;
}
.cta:active {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ---------------------------------------------------
   HERO SECTIONS
--------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #FFF9F3 60%, #FFECD8 100%);
  padding: 70px 0 40px 0;
  text-align: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #2C555D;
}
.hero p {
  font-size: 1.25rem;
  color: #495A58;
  margin-bottom: 15px;
}
@media (min-width: 600px) {
  .hero {
    padding-top: 90px;
    padding-bottom: 70px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

/* ---------------------------------------------------
   FLEX BASED CONTENT LAYOUTS
--------------------------------------------------- */
/* Cards groupings */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------------------
   INDEX & FEATURES
--------------------------------------------------- */
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 210px;
  min-width: 200px;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.15rem;
  color: #2C555D;
  margin-bottom: 2px;
}
.feature p {
  color: #495A58;
  font-size: 1rem;
  text-align: center;
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.022) translateY(-2px);
}
@media (max-width: 900px) {
  .features .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------------------
   SERVICE CARDS & GRIDS
--------------------------------------------------- */
.services-preview .service-grid, .service-list .service-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-preview .service, .service-list .service {
  flex: 1 1 250px;
  min-width: 210px;
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px 23px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.service h3 {
  font-size: 1.07rem;
  margin-bottom: 1px;
}
.service ul {
  color: #78A984;
  font-size: 0.98rem;
  margin-left: 17px;
}
.service:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.016);
}
@media (max-width: 870px) {
  .services-preview .service-grid, .service-list .service-offers {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---------------------------------------------------
   ARTICLES LISTS
--------------------------------------------------- */
.article-list, .article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.article-list article, .article-cards article {
  flex: 1 1 270px;
  min-width: 220px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.article-list article:hover, .article-cards article:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.016);
}
.article-list article a, .article-cards article a {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 18px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 1rem;
  color: #78A984;
  background: #FFECD8;
  transition: background 0.16s, color 0.15s;
}
.article-list article a:hover, .article-cards article a:hover {
  background: #78A984;
  color: #FFF;
}
@media (max-width: 900px) {
  .article-list, .article-cards {
    flex-direction: column;
    gap: 18px;
  }
}

.featured-article .featured-post {
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resources-library .resource-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.resources-library .resource {
  flex: 1 1 250px;
  min-width: 210px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.resources-library .resource:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02) translateY(-3px);
}

/* ---------------------------------------------------
   TEAM, EVENT, AND CATEGORY LISTS
--------------------------------------------------- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 210px;
  min-width: 200px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.02);
}
.events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.event {
  flex: 1 1 270px;
  min-width: 210px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px 19px 19px 19px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.12s, transform 0.13s;
}
.event:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.016);
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 15px;
}
.category-list li {
  color: #78A984;
  background: #FFECD8;
  border-radius: 14px;
  padding: 4px 15px;
  font-size: 0.99rem;
  font-family: var(--font-body);
}
@media (max-width: 800px) {
  .team-list, .events-grid, .resources-library .resource-cards {
    flex-direction: column;
    gap: 15px;
  }
}

/* ---------------------------------------------------
   TESTIMONIALS (DARK TEXT ON LIGHT BG, SHADOWS)
--------------------------------------------------- */
.testimonials {
  background: #FFFAF4;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  color: #2C555D;
  font-family: var(--font-body);
  font-size: 1.08rem;
  transition: box-shadow 0.19s, transform 0.16s;
}
.testimonial-card p {
  color: #2C555D;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #78A984;
  font-family: var(--font-body);
  font-size: 0.97rem;
  margin-left: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(44, 85, 93, 0.17);
  transform: scale(1.015) translateY(-3px);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------------------------------------------------
   TRUST SIGNALS, CERTIFICATIONS, BANNER
--------------------------------------------------- */
.trust-signals ul.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1.03rem;
  color: #2C555D;
}
.trust-signals ul.certifications li {
  background: #FFF8F1;
  padding: 14px 23px 11px 21px;
  border-radius: 20px;
  font-family: var(--font-body);
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: box-shadow 0.19s, background 0.13s;
}
.trust-signals ul.certifications li:hover {
  background: #FFECD8;
  box-shadow: var(--shadow-md);
}
@media (max-width: 670px) {
  .trust-signals ul.certifications {
    flex-direction: column;
    gap: 15px;
  }
  .trust-signals ul.certifications li {
    width: 100%;
  }
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  width: 100%;
  background: #FFF8F1;
  box-shadow: 0 -2px 8px rgba(44,85,93,0.035);
  padding: 40px 0 20px 0;
  margin-top: 80px;
  font-family: var(--font-body);
  color: #495A58;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img[alt="Armonia Quotidiana"] {
  width: 46px;
  height: 46px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #2C555D;
  font-size: 0.99rem;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #78A984;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 0.97rem;
}
footer address {
  font-style: normal;
  color: #78A984;
  font-weight: 600;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer .contact-info {
    align-items: flex-start;
  }
}

/* ---------------------------------------------------
   FORMS / CONTACT PAGE CUSTOMISATION
--------------------------------------------------- */
.contact-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-block .info, .contact-block .form {
  flex: 1 1 240px;
  min-width: 220px;
}
@media (max-width: 750px) {
  .contact-block {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------------------
   LEGAL & STATIC PAGES STYLING
--------------------------------------------------- */
.legal {
  background: #FFF8F1;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 26px 23px 26px;
  margin-bottom: 40px;
  font-family: var(--font-body);
  color: #495A58;
}
.legal h1, .legal h2 {
  color: #2C555D;
}
.legal ul {
  margin-left: 24px;
  margin-bottom: 13px;
  list-style: disc inside;
}
.legal ul li {
  margin-bottom: 4px;
}

/* ---------------------------------------------------
   CTA BANNER
--------------------------------------------------- */
.cta-banner {
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 33px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-section);
  margin-top: 24px;
}
.cta-banner .content-wrapper {
  align-items: center;
}
.cta-banner .cta.primary {
  font-size: 1.22rem;
  min-width: 230px;
  margin: 0 auto;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN QUERIES
--------------------------------------------------- */
@media (max-width: 650px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .section, .testimonials, .legal {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero {
    padding: 40px 0 24px 0;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .footer-nav { gap: 7px; }
  .cta, .cta.primary { font-size: 1rem; min-width: 90px; }
}

/* ---------------------------------------------------
   ANIMATIONS/MICRO-INTERACTIONS
--------------------------------------------------- */
.cta, .cta.primary, .card, .service, .feature,
.article-list article, .testimonial-card, .team-member, .event {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.16s;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3100;
  background: #FFF7ED;
  color: #2C555D;
  box-shadow: 0 -2px 16px rgba(44, 85, 93, 0.13);
  padding: 28px 20px 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  font-family: var(--font-body);
  border-radius: 25px 25px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.02rem;
  flex: 2 1 250px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: #FFECD8;
  color: #2C555D;
  box-shadow: var(--shadow-btn);
  font-weight: 600;
  margin-right: 7px;
  transition: background 0.15s, color 0.14s, box-shadow 0.17s;
}
.cookie-btn:active {
  background: #FFD6A6;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #397873;
  color: #FFF;
}
.cookie-btn.reject {
  background: #FFECD8;
  color: #E87C1D;
}
.cookie-btn.reject:hover {
  background: #FFD6A6;
  color: #A75D06;
}
.cookie-btn.settings {
  background: #FFF;
  color: #78A984;
  border: 1px solid #78A984;
}
.cookie-btn.settings:hover {
  background: #DDFFEC;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 7px 10px 7px;
    gap: 13px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,85,93,0.17);
  z-index: 3200;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #FFF7ED;
  color: #2C555D;
  border-radius: 22px;
  min-width: 300px;
  max-width: 98vw;
  width: 400px;
  padding: 38px 27px 22px 27px;
  box-shadow: 0 6px 32px rgba(44, 85, 93, 0.13);
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: cookie-smooth-in 0.36s cubic-bezier(.7,.21,.28,1.03) both;
}
@keyframes cookie-smooth-in {
  from { opacity: 0; transform: translateY(45px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.cookie-modal ul {
  padding-left: 19px;
  margin-bottom: 6px;
}
.cookie-modal ul li {
  font-size: 1.03rem;
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category .toggle {
  width: 38px;
  height: 22px;
  background: #EEE;
  border-radius: 12px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-category .toggle[data-active="true"] {
  background: var(--color-secondary);
}
.cookie-category .toggle:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1px 5px #8882;
}
.cookie-category .toggle[data-active="true"]:after {
  left: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  min-width: 95px;
  margin-right: 0;
}
.cookie-modal .cookie-btn.close {
  background: #FFF;
  color: #78A984;
  border: 1px solid #78A984;
}
.cookie-modal .cookie-btn.close:hover {
  background: #EAF7F0;
}
@media (max-width: 460px) {
  .cookie-modal {
    width: 98vw;
    min-width: unset;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ---------------------------------------------------
   MISCELLANEOUS / UTILITY CLASSES
--------------------------------------------------- */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.no-select {
  user-select: none;
}
.rounded {
  border-radius: var(--radius-md);
}
.shadow {
  box-shadow: var(--shadow-md);
}
.bg-accent {
  background: var(--color-accent);
}
.bg-primary {
  background: var(--color-primary);
  color: #FFF !important;
}
.bg-secondary {
  background: var(--color-secondary);
  color: #FFF !important;
}

/* ---------------------------------------------------
   SCROLLBAR STYLING (FRIENDLY)
--------------------------------------------------- */
::-webkit-scrollbar {
  width: 11px;
  background: #FFF7ED;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #FFECD8;
  border-radius: 8px;
}

/* ---------------------------------------------------
   PRINT STYLES (BASIC)
--------------------------------------------------- */
@media print {
  * { box-shadow: none !important; background: #FFF !important; color: #2C555D !important; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, main, .container { padding: 0 !important; margin: 0 !important; }
}
