/* =============================
   RESET & BASE STYLES
   ============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #F5EFE6;
  color: #234242;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #A67249;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #234242;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

button, .cta-btn, .mobile-menu-close {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

/* =============================
   LAYOUT & CONTAINER
  ============================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 18px rgba(166,114,73,0.08), 0 1.5px 4px rgba(35,66,66,.07);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.18s;
  min-width: 250px;
  flex: 1 1 250px;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 28px rgba(166,114,73,0.12), 0 2px 6px rgba(35,66,66,.14);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,66,66,0.09);
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* =============================
   BRAND – COLORS & THEMING
  ============================= */
:root {
  --primary: #234242;
  --secondary: #A67249;
  --accent: #F5EFE6;
  --cta: #FCD900;
  --cta-hover: #F9B800;
  --danger: #f14747;
  --shadow: 0 4px 18px rgba(166,114,73,0.08), 0 1.5px 4px rgba(35,66,66,.07);
}

/* =============================
   TYPOGRAPHY (PLAYFUL/DYNAMIC)
  ============================= */
h1, h2, h3, h4, .cta-btn, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 18px;
  text-shadow: 0 2px 22px var(--accent), 0 1px 0 #fff;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--secondary);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}
h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

p, li, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5em;
}
p {
  margin-bottom: 16px;
}

.text-section {
  max-width: 760px;
  margin: 0 auto;
}

/* Fun/energetic font for playful/dynamic feel */
body, .content-wrapper {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cta-btn,
nav > a,
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* =====================================
   HEADER & NAVIGATION (PLAYFUL TOUCH)
   ===================================== */
header {
  background: #fff;
  box-shadow: 0 4px 14px rgba(166,114,73,0.06), 0 1px 5px rgba(35,66,66,.03);
  padding-top: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 12px 16px;
}
header nav {
  display: flex;
  gap: 14px;
}
header nav a {
  color: var(--primary);
  position: relative;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 14px;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  transform: scale(1.09) skew(-2deg, 1deg);
}

.cta-btn {
  background: var(--secondary);
  color: #fff;
  border-radius: 50px 18px 50px 18px;
  padding: 10px 26px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-left: 16px;
  box-shadow: 0 6px 18px rgba(161, 114, 73, 0.10);
  border: 2px solid var(--secondary);
  transition: background 0.14s, color 0.13s, transform 0.18s, box-shadow 0.14s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #234242;
  color: #F9B800;
  transform: scale(1.04) rotate(-2deg);
  border-color: #234242;
  box-shadow: 0 12px 22px rgba(35,66,66,0.13);
}

/* Logo min width for flex */
header a img {
  width: 126px;
  min-width: 102px;
  height: auto;
}
/* ================= MOBILE NAV ================= */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border-radius: 14px;
  font-size: 1.7rem;
  padding: 6px 16px;
  border: none;
  margin-left: 18px;
  transition: background 0.15s, color 0.15s, transform 0.16s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #234242;
  color: #FCD900;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(245,239,230,0.98);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,.64,.21,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--danger);
  color: #fff;
  font-size: 2.3rem;
  border-radius: 50%;
  padding: 8px 13px;
  margin: 34px 30px 0 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  align-self: flex-end;
  transition: background 0.15s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #b82435;
  transform: rotate(7deg) scale(1.12);
}
.mobile-nav {
  margin: 44px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100vw;
  padding-left: 42px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.13s, color 0.13s, transform 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  padding-left: 18px;
  transform: scale(1.05);
}

@media (max-width: 1000px) {
  header nav { display: none !important; }
  .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex !important; }
  .cta-btn { display: inline-block !important; }
}

/* HEADER END */

/* ==========================
   HERO SECTION
   ========================== */
.hero {
  background: linear-gradient(90deg, #F5EFE6 60%, #FFF9EF 100%);
  padding: 54px 0 44px 0;
  border-bottom: 4px solid var(--secondary);
  animation: heroPopIn 1s cubic-bezier(.6,.8,0,1.2) 0.1s;
  min-height: 320px;
  position: relative;
}
@keyframes heroPopIn {
  0% { opacity:0; transform: translateY(18px) scale(0.98); }
  75% { opacity: 1; transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; transform: none;}
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--secondary);
  margin-bottom: 8px;
  animation: fadeInUp 0.87s cubic-bezier(.4,1.3,0,.96);
}
.hero p {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 18px;
  animation: fadeInUp 1.2s cubic-bezier(.4,1.3,0,.96) 0.23s;
}
.hero .cta-btn {
  font-size: 1.16rem;
  background: var(--cta);
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-top: 16px;
  box-shadow: 0 2px 12px rgba(252, 217, 0,.11);
  animation: popBtn .46s cubic-bezier(.53,1.6,.21,1) 0.7s;
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: var(--cta-hover);
  color: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 20px rgba(252, 217, 0, .12);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(36px); }
  80% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: none;}
}
@keyframes popBtn {
  0% { transform: scale(.91); opacity: 0; }
  80% { transform: scale(1.08); opacity: .98; }
  100% { transform: none; opacity: 1; }
}

/* ==========================
   FEATURE LISTS & SECTIONS
   ========================== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features .content-wrapper > h2 {
  margin-bottom: 24px;
}
.features ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-left: 0;
  margin-bottom: 0;
  justify-content: flex-start;
}
.features ul li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 11px rgba(166,114,73,0.08), 0 0.5px 4px rgba(35,66,66,.06);
  padding: 24px 22px 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1 1 245px;
  min-width: 240px;
  position: relative;
  margin-bottom: 0px;
  transition: box-shadow 0.18s, transform 0.16s;
  border: 2.5px solid var(--accent);
}
.features ul li img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 8px #FFF6e1);
  flex-shrink: 0;
  margin-top: 5px;
  margin-right: 0;
  transition: transform 0.22s;
}
.features ul li:hover {
  background: #FCD90016;
  box-shadow: 0 10px 26px rgba(166,114,73,0.13);
  transform: translateY(-4.5px) scale(1.025) rotate(-1deg);
  border-color: var(--secondary);
}
.features ul li:hover img {
  transform: rotate(-8deg) scale(1.22);
}
.features ul li div strong {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.features ul li div p {
  font-size: 0.99rem;
  color: var(--secondary);
}

/* Category/filters on katalog page */
.filters {
  margin-top: 28px;
  background: var(--accent);
  padding: 16px 12px 10px 16px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,66,66,0.05);
}
.filters h3 {
  color: var(--secondary);
  margin-bottom: 6px;
  font-size: 1.14rem;
  font-weight: 700;
}
.filters ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  margin-left: 0;
  margin-bottom: 13px;
}
.filters ul li {
  font-size: 0.97rem;
  padding: 7px 16px;
  background: #fff;
  border-radius: 12px;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
  margin-bottom: 0px;
}

/* ==========================
   ARTICLE CARDS (Inspirace)
   ========================== */
.article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.article-card {
  background: #fff;
  padding: 28px 22px 20px 22px;
  border-radius: 24px;
  box-shadow: 0 2.5px 8px rgba(35,66,66,0.09);
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 0;
  transition: box-shadow 0.14s, transform 0.12s;
  border: 2px solid var(--secondary);
}
.article-card:hover {
  box-shadow: 0 10px 22px rgba(166,114,73,0.11);
  transform: scale(1.02) rotate(-1.2deg);
  border-color: var(--primary);
}
.article-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
}
.article-card ul {
  margin-bottom: 0;
  list-style: disc inside;
}
/* Before/after block in inspirace */
.before-after-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.before-after-block > div {
  background: var(--accent);
  border-radius: 14px;
  padding: 18px 16px;
  flex: 1 1 190px;
  min-width: 180px;
  box-shadow: 0 1.5px 5px rgba(35,66,66,0.03);
}

/* ==========================
   SERVICE LISTS
   ========================== */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services .content-wrapper > h2 {
  margin-bottom: 24px;
}
.services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
}
.services ul li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px rgba(166,114,73,0.08);
  padding: 17px 13px 12px 19px;
  margin-bottom: 0;
  border-left: 5px solid var(--secondary);
  transition: box-shadow 0.13s, border-left-color 0.15s;
}
.services ul li:hover {
  box-shadow: 0 7px 18px rgba(166,114,73,0.13);
  border-left-color: var(--primary);
}
.services ul li strong {
  font-weight: 700;
  color: var(--primary);
}
.services ul li span {
  font-size: .96rem;
  color: var(--secondary);
}
.services .cta-btn {
  margin-top: 16px;
}

/* ==========================
   TESTIMONIALS
   ========================== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .testimonial-card {
  margin-bottom: 20px;
  background: #ffeecd;
  border: 2.5px solid #A67249;
  color: #234242;
  box-shadow: 0 2px 8px rgba(166,114,73,0.06), 0 0.5px 4px rgba(35,66,66,.06);
}
.testimonial-card p {
  color: #234242;
  font-size: 1.03rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  display: block;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #A67249;
  margin-top: 2px;
}
/* ==========================
   CONTACT SECTION
   ========================== */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact .content-wrapper ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 18px;
}
.contact .content-wrapper li {
  margin-bottom: 10px;
}

/* ================
   MISC SECTIONS
   ================ */
.about {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.map-embed {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  padding: 18px 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0.8px 5px rgba(166,114,73,0.07);
  margin-top: 12px;
}
.map-preview {
  width: 120px;
  min-width: 100px;
  margin-right: 10px;
}

.thank-you {
  margin-bottom: 60px;
  padding: 54px 20px 80px 20px;
  text-align: center;
  animation: popBtn 1.2s cubic-bezier(.53,1.6,.21,1);
}
.thank-you .cta-btn {
  margin-top: 28px;
  font-size: 1.13rem;
}

.policy, .gdpr, .terms, .cookies-policy {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(166,114,73,0.08);
}
.policy h1, .gdpr h1, .terms h1, .cookies-policy h1 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #fff8f3;
  padding: 30px 0 0 0;
  box-shadow: 0 -2.5px 14px rgba(35,66,66,0.02);
  margin-top: 70px;
  font-size: .98rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 14px;
  align-items: flex-start;
  flex-direction: row;
  justify-content: space-between;
}
footer > .container > div,
footer nav { flex: 1 1 210px; }
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
footer nav a {
  color: var(--primary);
  transition: color 0.13s;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
}
footer nav a:hover,footer nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  margin-bottom: 8px;
}
.footer-credit {
  width: 100%;
  padding: 18px 0 8px 0;
  color: #a1a09b;
  font-size: .955rem;
}
footer img {
  width: 58px;
  height: auto;
  margin-bottom: 10px;
}

/* ========================
   RESPONSIVE DESIGN MOBILE-FIRST
   ======================== */
@media (max-width: 768px) {
  .container {
    padding-right: 8px;
    padding-left: 8px;
  }
  .hero {
    padding: 37px 0 28px 0;
    min-height: 210px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .features ul, .card-container, .content-grid,.article-cards, .before-after-block, .map-embed, footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .features ul li, .article-card, .card {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
  .filters ul { flex-direction: column; gap: 6px; }
  .testimonial-card, .services ul li { padding: 14px 10px; }
  footer .container {
    padding: 16px 4px 8px 4px;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 1.38rem; }
  .hero p { font-size: .98rem; }
  .policy, .gdpr, .terms, .cookies-policy, .about, .features, .services, .contact, .testimonials, .thank-you {
    padding: 24px 2px;
    margin-bottom: 40px;
  }
  .thank-you { padding-top: 30px; padding-bottom: 48px; }
  h2 { font-size: 1.13rem; }
}
.text-image-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}

/* Fix small spacing for nested flex */
@media (max-width: 420px) {
  .mobile-nav { padding-left: 12px; }
}

/* ===============
   FLEX WRAPS ENSURE
   ================ */
.features ul,.card-container,.content-grid,.article-cards,.before-after-block,.map-embed,footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.features ul,.card-container, .article-cards {
  gap: 24px;
}
/* Ensure all cards/sections spacing */
.card,.card-container > *,.article-card,.features ul li,.testimonial-card,.services ul li {
  margin-bottom: 20px;
}

/****************************************
 COOKIE CONSENT BANNER STYLES
****************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff7e0;
  color: #234242;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -3.5px 16px rgba(166,114,73,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  font-size: 1rem;
  animation: slideBanner 0.7s cubic-bezier(.6,1.4,.35,1.02);
}
@keyframes slideBanner {
  0% { transform: translateY(110%); }
  70% { transform: translateY(-5px); }
  100% { transform: none; }
}
.cookie-banner .cookie-text {
  flex: 4 1 330px;
  margin-right: 10px;
}
.cookie-banner .cookie-btns {
  flex: 1 1 140px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 20px;
  border-radius: 14px;
  background: var(--cta);
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-right: 0;
  transition: background 0.16s, color 0.14s, border 0.15s, transform 0.15s;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-banner button.cookie-accept:hover,
.cookie-banner button.cookie-accept:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
}
.cookie-banner button.cookie-reject {
  background: #fff0ee;
  color: var(--danger);
  border-color: var(--danger);
}
.cookie-banner button.cookie-reject:hover,
.cookie-banner button.cookie-reject:focus {
  background: var(--danger);
  color: #fff;
  border-color: var(--secondary);
  transform: scale(1.05);
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: var(--cta);
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px 11px 10px;
    font-size: .96rem;
    gap: 11px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
    gap: 7px;
  }
}

/****************************************
 COOKIE BANNER MODAL
****************************************/
.cookie-modal-overlay {
  position: fixed;
  z-index: 10002;
  top:0; left:0; right:0; bottom:0;
  background: rgba(166,114,73,0.24);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: background 0.18s;
  animation: fadeModal 0.4s cubic-bezier(.6,1.2,.4,1.03);
}
@keyframes fadeModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff7e0;
  box-shadow: 0 6px 24px rgba(166,114,73,0.17);
  border-radius: 24px 24px 0 0;
  min-width: 100vw;
  max-width: 425px;
  width: 96vw;
  margin: 0 auto;
  padding: 26px 20px 17px 20px;
  color: #234242;
  position: relative;
  animation: popBtn 0.36s cubic-bezier(.53,1.6,.21,1);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 13px 13px 11px 16px;
  box-shadow: 0 1.5px 8px rgba(166,114,73,0.09);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-modal .cookie-category .cookie-category-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  margin-right: 10px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  vertical-align: middle;
}
.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-color: #ffe0bd;
  border-radius: 22px;
  transition: background-color 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background-color: var(--secondary);
}
.cookie-modal .slider:before {
  position: absolute;
  left: 2.5px;
  bottom: 2.5px;
  content: '';
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.19s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(15px);
}
.cookie-modal .essential {
  color: #234242;
  font-weight: 700;
  font-size: .98rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px;
  right: 15px;
  background: var(--danger);
  color: #fff;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #b82435;
  transform: scale(1.1) rotate(-7deg);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .modal-actions .cta-btn,
.cookie-modal .modal-actions button {
  padding: 7px 17px;
  font-size: 1rem;
  border-radius: 12px;
  background: var(--cta);
  color: var(--primary);
  border: 2px solid var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background 0.12s, border 0.13s, color 0.12s, transform 0.15s;
}
.cookie-modal .modal-actions .cta-btn:hover,
.cookie-modal .modal-actions button:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.04);
}
@media (max-width: 510px) {
  .cookie-modal {
    min-width: 99vw;
    width: 99vw;
    max-width: 99vw;
    padding: 19px 3vw 11px 4vw;
  }
}

/* ==========================
   MICRO-ANIMATIONS
   ========================= */
.card, .article-card, .testimonial-card, .features ul li {
  transition: box-shadow 0.2s, transform 0.16s, border 0.16s;
}
.card:hover, .article-card:hover, .testimonial-card:hover, .features ul li:hover {
  box-shadow: 0 9px 30px rgba(166,114,73,0.10), 0 1.5px 8px rgba(35,66,66,.11);
  transform: scale(1.03) rotate(-0.3deg);
}

/* Add a playful bobbing animation for some accents */
@keyframes playful-bounce {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-5px); }
  50%  { transform: translateY(2.5px); }
  75%  { transform: translateY(-2.5px); }
  100% { transform: translateY(0); }
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  animation: playful-bounce 1.5s linear infinite alternate-reverse;
  animation-delay: .22s;
}
.cta-btn:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  animation: none;
}

/* ================= Overlay for accessibility (modal/mobiles) */
[aria-modal="true"] {
  overflow: hidden;
}

/* ================= Hide visually but keep accessible ======= */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ==========================
  End of CSS
  ========================= */
