/* =======================
   Venezia Vita Piena - style.css
   Luxury Premium Theme - Flexbox ONLY
   ======================= */

/* 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAFAFA; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* =======================
   VARIABLES & FONTS
   ======================= */
:root {
  /* Brand Colors */
  --color-primary: #19525B; /* Deep Blue-Green */
  --color-secondary: #E1B382; /* Gold/Champagne */
  --color-accent: #FFFFFF; /* White */
  --color-bg: #FAFAFA; /* Very Light Grey */
  --color-text: #192021; /* Very dark greige */
  --color-grey: #F3F1ED; /* Pale Neutral */
  --color-border: #DDD5C0;
  --color-gold-dark: #B28A56;
  --color-cta: #19525B;
  --color-cta-dark: #144148;
  --color-success: #3e5e4d;
  --color-error: #b84a3e;
  --shadow-lg: 0 8px 32px rgba(25,82,91,0.12);
  --shadow-md: 0 2px 10px rgba(25,82,91,0.08);
  --shadow-gold: 0 1px 14px 0 rgba(225,179,130,0.11);
}

@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: local('Lato'), url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
  font-display: swap;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  font-weight: 500;
}
h1 { font-size: 2.7rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2.1rem; margin-bottom: 16px; }
h3 { font-size: 1.32rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }

p, li, label, input, button, textarea {
  font-family: 'Lato', Arial, sans-serif;
}

strong, b { font-weight: 700; color: var(--color-primary); }

/* =======================
   LAYOUT CONTAINERS
   ======================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =======================
   HEADER STYLE
   ======================= */
header {
  width: 100%;
  background: var(--color-accent);
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 0 0 0 0;
  height: 76px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 30;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 22px;
  padding-top: 5px;
  height: 55px;
}
.logo img {
  height: 43px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 6px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: #121518;
}
.cta-header {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 9px 26px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 24px;
  box-shadow: var(--shadow-gold);
  transition: background 0.16s, color 0.2s;
  border: 1px solid transparent;
}
.cta-header:hover,
.cta-header:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1px solid var(--color-secondary);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: var(--color-primary);
  color: var(--color-secondary);
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 4px 15px 3px 15px;
  margin-left: 22px;
  cursor: pointer;
  border: none;
  display: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  z-index: 31;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-secondary), var(--shadow-md);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,82,91,0.90);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(.5,.8,.5,1), opacity 0.2s;
  z-index: 33;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.40s cubic-bezier(.5,.8,.5,1), opacity 0.2s;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-secondary);
  font-size: 2.2rem;
  margin: 22px 28px 5px 0;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  align-self: flex-end;
  transition: color 0.15s;
  z-index: 34;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-gold-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-right: 0;
  margin-top: 44px;
  width: 100%;
  align-items: flex-end;
  padding-right: 34px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: none;
  padding: 7px 0;
  border-radius: 2px;
  transition: color 0.18s, background 0.16s;
  min-width: 180px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(225,179,130,0.07);
}

/* =======================
   HERO / GENERAL PAGES
   ======================= */
.text-section {
  max-width: 630px;
  margin: 0 auto;
  align-items: flex-start;
}
.text-section a.cta-primary, .text-section a.cta-secondary {
  margin-top: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

/* ========== BUTTONS ========= */
.cta-primary, .text-section button[type="submit"] {
  display: inline-flex;
  align-items: center;
  background: var(--color-cta);
  color: var(--color-secondary);
  border-radius: 26px;
  padding: 11px 36px;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 500;
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.20s, color 0.20s, box-shadow 0.2s;
  gap: 9px;
  border: 1.5px solid var(--color-primary);
}
.cta-primary:hover, .cta-primary:focus, .text-section button[type="submit"]:hover, .text-section button[type="submit"]:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 18px 0 rgba(225,179,130,0.21);
  border: 1.5px solid var(--color-secondary);
}
.cta-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 24px;
  padding: 9px 28px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  border: 1.5px solid var(--color-secondary);
  margin-top: 12px;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-primary);
}

/* ===========================
   CARD, FEATURE, NEWS, BLOG
   =========================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  justify-content: flex-start;
  align-items: stretch;
}
.features-grid > div {
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 300px;
  background: #FFF;
  border-radius: 14px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border 0.16s, box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 7px 28px rgba(225,179,130,0.12);
  transform: translateY(-3px) scale(1.03);
  cursor: pointer;
}
.features-grid img {
  width: 47px;
  height: 47px;
  margin-bottom: 7px;
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  align-items: stretch;
  justify-content: flex-start;
}
.service-card {
  background: var(--color-grey);
  border-radius: 14px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 30px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
  max-width: 290px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: border 0.16s, box-shadow 0.18s, transform 0.16s;
}
.service-card img {
  width: 40px; height: 40px; margin-bottom: 6px;
}
.service-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}
.service-card .service-price {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 9px;
  font-size: 1rem;
  padding: 3px 13px;
  margin-top: 7px;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.service-card:hover, .service-card:focus-within {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 6px 22px 0 rgba(225,179,130,0.14);
  transform: translateY(-3px) scale(1.03);
}

.news-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
}
.news-preview > div {
  background: var(--color-grey);
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 18px 19px 12px 15px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  transition: border 0.14s, box-shadow 0.16s, transform 0.16s;
}
.news-preview > div:hover, .news-preview > div:focus-within {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 8px 29px 0 rgba(225,179,130,0.13);
  transform: translateY(-2px) scale(1.03);
}

.services-list li {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
}

/* Blog */
.blog-card, .blog-highlight {
  background: var(--color-accent);
  border-radius: 12px;
  border: 1.4px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 18px 19px 14px 19px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border 0.12s, box-shadow 0.12s, transform 0.13s;
}
.blog-card:hover, .blog-highlight:hover, .blog-card:focus-within, .blog-highlight:focus-within {
  border: 1.4px solid var(--color-secondary);
  box-shadow: 0 8px 23px 0 rgba(225,179,130,0.10);
  transform: scale(1.02);
}
.blog-card a, .blog-highlight a {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 7px;
  transition: color 0.13s;
}
.blog-card a:hover, .blog-highlight a:hover { color: var(--color-secondary); }

/* ========================
   TESTIMONIALS
   ======================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-grey);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--color-border);
  margin-bottom: 20px;
  max-width: 730px;
  color: #22232A; /* legibility on pale background */
  font-size: 1.11rem;
  transition: border 0.16s, box-shadow 0.17s, transform 0.15s;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
}
.testimonial-card strong {
  color: var(--color-cta-dark);
  font-style: normal;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 6px 28px 0 rgba(225,179,130,0.16);
  transform: scale(1.02);
}


/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding-top: 34px;
  padding-bottom: 26px;
  font-size: 0.95rem;
  box-shadow: 0 -6px 26px rgba(25,82,91,0.06);
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.footer-menu a {
  color: var(--color-secondary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.16s;
  opacity: 0.98;
}
.footer-menu a:hover, .footer-menu a:focus { color: var(--color-accent); }
.brand-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.brand-signature img {
  height: 37px;
  width: auto;
}
.brand-signature span {
  font-size: 1.03rem;
  font-family: 'Playfair Display', serif;
  opacity: 0.82;
}
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.social-links a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  background: var(--color-secondary);
  width: 36px; height: 36px;
  justify-content: center;
  transition: background 0.14s, box-shadow 0.12s;
}
.social-links a:hover, .social-links a:focus { background: var(--color-gold-dark); box-shadow: 0 2px 7px 0 rgba(225,179,130,0.08); }
.social-links img { width: 21px; height: 21px; }
.footer-legal {
  color: #e8e4dc;
  opacity: 0.67;
  font-size: 0.95em;
  margin-top: 12px;
}
.footer-legal a { color: var(--color-secondary); opacity: .95; }
.footer-legal a:hover { color: var(--color-accent); }

/* =========================
   FORMS
   ========================= */
form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
label {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 3px;
}
input[type="text"], input[type="email"], textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.09rem;
  background: var(--color-grey);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 11px 15px;
  width: 100%;
  margin-top: 3px;
  margin-bottom: 10px;
  transition: border 0.14s;
  resize: vertical;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
  background: #fffef7;
}
button[type="submit"], .text-section button[type="submit"] {
  padding: 11px 36px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 26px;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 500;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}
button[type="submit"]:hover, button[type="submit"]:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}

/* ========== CONTACT INFO & MAP ========== */
.contact-info {
  margin-top: 18px;
  font-size: 0.97rem;
  color: var(--color-primary);
}
.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.contact-info img {
  height: 19px; width: 19px; margin-right: 5px;
}
.location-map {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 1rem;
  color: var(--color-primary);
}
.location-map img {
  width: 40px; height: 40px;
}
.location-map span {
  font-weight: 700;
  color: var(--color-primary);
}

/* ========== LISTS & LIST STYLES ========== */
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 1.07em;
}
ul li strong {
  color: var(--color-secondary);
}
ul {
  padding-left: 0;
  margin-left: 0;
}
ol {
  margin-left: 1.1em;
}
ul {
  list-style-type: disc;
}
ul li::marker, ol li::marker {
  color: var(--color-secondary);
}
.text-section ul, .text-section ol {
  margin-left: 1.1em;
}

/* ========== UTILITY FLEX CLASSES ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== SPACING & WHITE SPACE ========== */
section + section, .section + .section {
  margin-top: 40px;
}
section:last-child { margin-bottom: 0; }

/* ========== RESPONSIVE: MOBILE FIRST ========== */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.49rem; }
}
@media (max-width: 768px) {
  /* Layout and stacking */
  .main-nav {
    display: none;
  }
  .footer-menu {
    flex-direction: column;
    gap: 11px;
    align-items: flex-start;
  }
  .features-grid,
  .news-preview,
  .services-cards,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header {
    flex-direction: row;
    height: auto;
    min-height: 58px;
    padding: 0 10px 0 0;
  }
  .logo {
    height: 37px;
    margin-right: 10px;
  }
  .cta-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container { padding-left: 10px; padding-right: 10px; }
  .section, section {
    padding: 25px 10px;
  }
  .brand-signature, .social-links {
    flex-direction: row;
    align-items: flex-start;
    gap: 9px;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .footer-menu {
    font-size: 0.94rem;
  }
  .brand-signature span {
    font-size: 0.98rem;
  }
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
section, .section, .testimonial-card, .features-grid > div, .news-preview > div, .service-card, .blog-card, .blog-highlight, .card {
  transition: box-shadow 0.14s cubic-bezier(.5,.8,.5,1), border 0.14s, background 0.17s, transform 0.14s;
}
a, button {
  transition: color 0.16s, background 0.18s, box-shadow 0.16s;
}
input, textarea {
  transition: border 0.14s, background 0.15s;
}

/* ================
   COOKIE CONSENT BANNER + MODAL
   ================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 -4px 22px rgba(25,82,91,0.14);
  padding: 26px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 90;
  border-top: 2.5px solid var(--color-secondary);
  font-size: 0.97rem;
  animation: bannerIn 0.70s cubic-bezier(.46,.75,.24,1.01);
}
@keyframes bannerIn {
  0% { transform: translateY(60px); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 7px;
  padding: 7px 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid var(--color-secondary);
  cursor: pointer;
  transition: background 0.14s, color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-error);
  border: 1.5px solid var(--color-error);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-error);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 111;
  top: 50%; left: 50%;
  transform: translate(-50%, 80vh) scale(0.93);
  width: 97vw;
  max-width: 410px;
  background: var(--color-accent);
  box-shadow: 0 10px 26px 0 rgba(25,82,91,0.23);
  border: 2.4px solid var(--color-secondary);
  border-radius: 20px;
  padding: 32px 26px 24px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.32s cubic-bezier(.46,.75,.24,1.01);
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.0);
  pointer-events: auto;
  transition: opacity 0.22s, transform 0.32s cubic-bezier(.38,.8,.3,1.00);
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.12rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-pref {
  margin-bottom: 14px;
}
.cookie-modal .cookie-pref label {
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-grey);
  border-radius: 22px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: background 0.17s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--color-secondary);
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  height: 14px; width: 14px;
  left: 2px; bottom: 2px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: transform 0.19s, background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(18px);
  background: var(--color-secondary);
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 17px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .cookie-category .desc {
  font-size: 0.90rem;
  color: #555;
  margin-left: 13px;
}
.cookie-modal .cookie-category .desc.essential {
  color: var(--color-success);
  font-weight: 600;
}
.cookie-modal .cookie-category .desc.analytics {
  color: var(--color-primary);
}
/* Modal overlay backdrop */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 110;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,82,91,0.27);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* HIDE COOKIE BANNER ON PRINT */
@media print {
  .cookie-consent-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; }
}

/* =========================
   OTHER
   ========================= */
hr {
  border: none;
  height: 1.5px;
  background: var(--color-secondary);
  opacity: 0.16;
  margin: 18px 0;
}

/* Ensure no content card or block overlaps using flex gap/margin bottom spacing everywhere */

/* END OF STYLE.CSS */
