/* Arcane Value – style.css | Warm Friendly Style | Mobile-First | Flexbox only | No Grid | Polish diacritics support */

/* --- CSS RESET & BASE ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFFDF9;
  color: #232946;
  min-height: 100vh;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  color: #232946;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 16px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
}
a {
  color: #E07C3A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #C2661A;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}

/* --- BRAND COLORS as CSS VARS ----------------------------------------- */
:root {
  --color-primary: #232946;
  --color-secondary: #E3E6F3;
  --color-accent: #F6C700;
  --color-warm1: #F6C700;
  --color-warm2: #FFE5AF;
  --color-warm3: #FFF3DB;
  --color-warm4: #FFD18C;
  --color-warm5: #FFEEDD;
  --color-primary-contrast: #fff;
  --shadow-card: 0 2px 24px 0 rgba(244,196,52,0.12), 0 0.5px 2.5px 0 rgba(0,0,0,0.05);
  --shadow-focus: 0 0 0 3px #F6C70044;
}

/* --- CONTAINERS ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.footer-wrapper {
  flex-direction: column;
  align-items: center;
  padding: 36px 0 10px 0;
  gap: 18px;
}

/* --- HEADER & NAVIGATION ---------------------------------------------- */
header {
  width: 100%;
  background: var(--color-warm2);
  box-shadow: 0 1px 16px rgba(246,199,0,0.05);
  position: sticky;
  top: 0;
  z-index: 60;
}
.nav-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  gap: 16px;
  padding: 12px 0;
}
.nav-header > a img {
  height: 40px;
  width: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  background: #fff;
  padding: 7px 10px;
}
.main-nav {
  display: none;
}
.cta.primary {
  display: none;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #232946;
  font-size: 2.1rem;
  border-radius: 11px;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  transition: background 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--color-warm4);
  box-shadow: var(--shadow-focus);
}
@media (min-width:1000px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 34px;
    align-items: center;
    margin-right: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.09rem;
  }
  .main-nav a {
    color: #232946;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    transition: background 0.17s, color 0.17s;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: var(--color-warm1);
    color: var(--color-primary-contrast);
  }
  .cta.primary {
    display: inline-block;
    background: var(--color-warm1);
    color: var(--color-primary);
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 99px;
    padding: 10px 32px;
    margin-left: 14px;
    transition: filter 0.2s, background 0.14s, color 0.14s;
    cursor: pointer;
    box-shadow: 0 2px 16px 0 #F6C7001a;
    letter-spacing: 0.01em;
  }
  .cta.primary:hover, .cta.primary:focus {
    background: var(--color-primary);
    color: #fff;
    filter: brightness(1.07);
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- MOBILE MENU ------------------------------------------------------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF9EE;
  box-shadow: 6px 0 36px 0 #F6C70022;
  z-index: 130;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.81,-0.01,.25,1.01);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #232946;
  font-size: 2.3rem;
  margin: 18px 22px 6px 0;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 11px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD18Ca2;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  margin-top: 16px;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #232946;
  background: none;
  border-radius: 7px;
  padding: 7px 13px;
  transition: background 0.16s;
  min-width: 180px;
  min-height: 44px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-warm1);
  color: #fff;
  outline: none;
}
@media (min-width:1000px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- SECTIONS --------------------------------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:600px) {
  section, .section {
    padding: 25px 7px;
    margin-bottom: 38px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- FLEX CONTAINERS PATTERNS ----------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 22px;
    align-items: stretch;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  font-size: 1.06em;
  color: #222;
  line-height: 1.8;
  border-left: 6px solid var(--color-warm1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-warm3);
  border-radius: 18px;
  padding: 26px 24px 20px;
  min-width: 220px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.2s;
  flex: 1 1 200px;
  border: 1.3px solid #FFE4A3;
}
.feature-item:hover, .feature-item:focus-within {
  background: var(--color-warm2);
  box-shadow: 0 4px 28px 0px #FFD37014;
}
.feature-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fff2cc;
  box-shadow: 0 1px 8px #FFD3701f;
}
/* Feature grid setup for home */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- NEWS & ARTICLE CARDS --------------------------------------------- */
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.news-card {
  background: #FFF7DE;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px 18px 24px;
  flex: 1 1 255px;
  min-width: 230px;
  max-width: 357px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border: 1.2px solid #FFE4A3;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.news-card:hover, .news-card:focus-within {
  box-shadow: 0 6px 26px #FFD86B22;
  border-color: var(--color-warm1);
}
.news-card .category-tag {
  display: inline-block;
  background: var(--color-warm1);
  color: var(--color-primary);
  font-size: 0.93em;
  font-weight: 700;
  padding: 2px 14px 3px 14px;
  border-radius: 999px;
  margin-bottom: 7px;
  letter-spacing: 0.06em;
}
.news-card a {
  align-self: flex-start;
  margin-top: 5px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-warm4);
  padding: 6px 17px;
  border-radius: 9px;
  transition: background 0.17s, color 0.12s;
}
.news-card a:hover, .news-card a:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- FILTER BAR FOR CATEGORIES ---------------------------------------- */
.filter-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.filter-bar strong {
  margin-right: 6px;
  font-size: 1.06em;
  color: #845600;
}
.filter-bar a {
  background: #FFF3DB;
  color: #232946;
  padding: 5px 13px;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: background 0.13s, color 0.13s;
}
.filter-bar a:hover, .filter-bar a:focus {
  background: var(--color-warm1);
  color: #fff;
}

/* --- REVIEW / OPINIA CARDS -------------------------------------------- */
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.review-card {
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px 18px 22px;
  flex: 1 1 245px;
  min-width: 210px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #ebe6e0;
  transition: box-shadow 0.15s;
}
.review-card:hover, .review-card:focus-within {
  box-shadow: 0 0 24px #F6C70022, 0 0.5px 2.5px #FFD60033;
}
.rating-stars {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.rating-stars img {
  width: 24px;
  height: 24px;
}

/* --- GUIDE CARDS FOR PORADNIKI ---------------------------------------- */
.guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.guide-tile {
  background: #FFF7DE;
  border-radius: 17px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px 18px 22px;
  min-width: 200px;
  max-width: 325px;
  flex: 1 1 205px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
  border: 1.2px solid #FFE4A3;
  transition: box-shadow 0.12s, border-color 0.13s;
}
.guide-tile:hover, .guide-tile:focus-within {
  box-shadow: 0 4px 24px 0px #F6C70023;
  border-color: var(--color-warm1);
}
.difficulty-label {
  display: inline-block;
  background: var(--color-warm1);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.97em;
  border-radius: 999px;
  padding: 2px 14px 2px 14px;
  letter-spacing: 0.05em;
}
.topics-tags {
  display: flex;
  flex-direction: row;
  gap: 9px;
  margin-bottom: 4px;
}
.topics-tags span {
  background: var(--color-warm3);
  color: #222;
  border-radius: 7px;
  padding: 2px 12px 3px 12px;
  font-size: 0.97em;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
}

/* --- TECHNOLOGIE TOPIC GRID ------------------------------------------- */
.topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.topic-card {
  background: #FFF7DE;
  border-radius: 17px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 18px 24px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  border: 1.2px solid #FFE4A3;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.topic-card:hover, .topic-card:focus-within {
  box-shadow: 0 4px 24px 0 #F6C7001a;
  border-color: #F6C700;
}
.topic-card a {
  align-self: flex-start;
  margin-top: 5px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-warm4);
  padding: 6px 17px;
  border-radius: 9px;
  transition: background 0.14s;
}
.topic-card a:hover, .topic-card a:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- TEAM / BIO CARDS ------------------------------------------------- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 15px;
  margin-bottom: 16px;
}
.team-member {
  background: #FFFDF9;
  border-radius: 17px;
  box-shadow: var(--shadow-card);
  padding: 20px 18px 12px 20px;
  min-width: 170px;
  max-width: 290px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  border: 1px solid #ebecf5;
}

/* --- FAQ SECTION ------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 19px;
}
.faq-item {
  background: #FFFDF9;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 16px 16px 10px 18px;
  min-width: 190px;
  max-width: 360px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #f8e8bc;
}

/* --- QUICK LINKS ------------------------------------------------------ */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 18px 0 0 0;
}
.quick-links a {
  display: block;
  background: var(--color-warm3);
  color: #232946;
  border-radius: 10px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  box-shadow: 0 1px 7px 0 #FFD37013;
  transition: background 0.12s,color 0.12s;
}
.quick-links a:hover, .quick-links a:focus {
  background: var(--color-warm1);
  color: #fff;
}

/* --- CALLOUT FOR THANK-YOU PAGE --------------------------------------- */
.callout {
  background: var(--color-warm2);
  border-radius: 13px;
  box-shadow: 0 1px 12px #F6C70026;
  padding: 20px 20px 10px 20px;
  margin: 18px 0 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6a5200;
}

/* --- CIRCLE CTA (SUBSCRIPTION ETC)------------------------------------- */
.cta.secondary {
  background: var(--color-warm3);
  border-radius: 17px;
  padding: 23px 19px 19px 19px;
  margin: 18px 0 20px 0;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  border: 1.2px solid #f6e5b3;
  color: #432A06;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
}
.cta.secondary p {
  flex: 1;
  font-size: 1em;
  margin: 0;
}
.cta.secondary a {
  background: var(--color-warm1);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 99px;
  padding: 8px 32px;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  transition: background 0.18s, color 0.10s;
  text-decoration: none;
  box-shadow: 0 1px 7px #FFD37013;
}
.cta.secondary a:hover, .cta.secondary a:focus {
  background: var(--color-primary);
  color: #fff;
}

/* --- BRAND PARTNERS --------------------------------------------------- */
.brand-partners {
  background: #FFF9EE;
  border-radius: 13px;
  box-shadow: 0 1px 14px #F6C70020;
  padding: 16px 18px 8px 12px;
  margin: 19px 0 0 0;
  color: #735A10;
}
.brand-partners h3 {
  font-size: 1.15em;
  margin-bottom: 8px;
}
.brand-partners ul {
  list-style: disc inside;
  margin-left: 12px;
  color: #9f7a0f;
  padding-left: 0;
}
.brand-partners li {
  margin-bottom: 4px;
  font-size: 1em;
}

/* --- FOOTER ----------------------------------------------------------- */
footer {
  background: var(--color-warm2);
  color: #232946;
  border-top: 3px solid var(--color-warm1);
  box-shadow: 0 -1.5px 10px #FFD60014;
  font-size: 1em;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.footer-wrapper > a img {
  height: 40px;
  width: auto;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 5px #FFD37012;
  margin-bottom: 9px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1.02em;
  justify-content: center;
}
.footer-nav a {
  color: #232946;
  font-weight: 600;
  transition: color 0.15s;
  padding: 4px 10px;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: var(--color-warm1);
}
.brand-social {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.brand-social a img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #fff;
  padding: 3px;
  transition: box-shadow 0.15s;
  box-shadow: 0 0.5px 4px #FFD37019;
}
.brand-social a:hover img, .brand-social a:focus img {
  box-shadow: 0 0 9px #FFD37044;
  filter: brightness(0.99) contrast(1.1);
}
.footer-contact {
  color: #694800;
  font-size: 0.98em;
  text-align: center;
}
.copyright {
  color: #A68719;
  font-size: 0.96em;
  margin-top: 7px;
}

/* --- MISCELLANEOUS ---------------------------------------------------- */
.category-tag {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- RESPONSIVE ADAPTATIONS ------------------------------------------- */
@media (max-width:900px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    max-width: 98vw;
  }
  .feature-grid, .news-list, .review-list, .guide-list, .topic-grid, .team-bios, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width:600px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .review-card, .guide-tile, .topic-card, .news-card, .team-member, .faq-item {
    min-width: 0;
    max-width: unset;
    padding: 16px 8px 10px 13px;
  }
  .testimonial-card, .callout, .brand-partners, .cta.secondary {
    padding: 12px 8px 10px 12px;
  }
}

/* --- LISTS & BLOCKQUOTES ---------------------------------------------- */
blockquote {
  background: var(--color-warm3);
  color: #624A1F;
  padding: 6px 14px 6px 14px;
  border-left: 5px solid var(--color-warm1);
  margin: 0 0 9px 0;
  font-weight: 500;
  border-radius: 9px;
  font-style: italic;
}
cite {
  font-size: 0.98em;
  color: #8c6d23;
  font-family: 'Montserrat', Arial, sans-serif;
  display: block;
  margin-top: 2px;
}

/* --- BUTTONS GENERAL STYLE -------------------------------------------- */
button, .cta.primary, .cta.secondary a {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus, .cta.primary:focus, .cta.secondary a:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* --- COOKIE BANNER FIXED BOTTOM --------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFD18C;
  color: #222;
  box-shadow: 0 -3px 32px #FFD60022;
  padding: 27px 10px 18px 10px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.81,-0.01,.25,1.01);
  font-size: 1.06em;
}
.cookie-banner.hide {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 14px;
}
.cookie-btn {
  background: var(--color-warm1);
  color: var(--color-primary);
  border-radius: 13px;
  padding: 7px 23px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border: none;
  box-shadow: 0 0.5px 6px #FFD37013;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, filter 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #232946;
  color: #fff;
  filter: brightness(1.11);
}
.cookie-btn.outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-warm1);
  padding: 7px 23px;
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: var(--color-warm4);
  color: var(--color-primary);
}

/* --- COOKIE MODAL (DIALOG) -------------------------------------------- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width:100vw; height:100vh;
  background: rgba(0,0,0,0.30);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #FFFDF9;
  border-radius: 22px;
  box-shadow: 0 4px 32px #FFD3704a;
  padding: 38px 26px 24px 26px;
  max-width: 96vw;
  min-width: 270px;
  width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUpIn 0.45s cubic-bezier(.79,0,.21,1.01);
}
@keyframes fadeUpIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal__header {
  font-size: 1.22em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #754500;
  font-weight: 700;
}
.cookie-modal__cat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-toggle {
  appearance: none;
  width: 35px;
  height: 19px;
  background: #ffe7b7;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1px solid #F6C70088;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: var(--color-warm1);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 15px;
  border-radius: 7px;
  background: #fffbe3;
  transition: transform 0.19s cubic-bezier(.87,.04,.14,.97);
}
.cookie-toggle:checked::after {
  transform: translateX(16px);
  background: #fff9e0;
}
.cookie-modal__desc {
  font-size: 1em;
  color: #6d5460;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 7px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 8px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #A09EB1;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #FFE5AF;
}

/* --- ACCESSIBILITY FOCUS STATES --------------------------------------- */
a:focus, button:focus, .cta:focus, .footer-nav a:focus, .cookie-btn:focus, .mobile-nav a:focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* --- ADDITIONAL TYPOGRAPHY & DETAILS ---------------------------------- */
::selection {
  background: #F6C70070;
}

/* --- ENSURE ALL FLEX CONTAINER SPACING IS CORRECT --------------------- */
.card-container > *,
.content-grid > *,
.text-image-section > *,
.testimonial-card > *,
.feature-item > *,
.feature-grid > *,
.news-list > *,
.review-list > *,
.guide-list > *,
.topic-grid > *,
.team-bios > *,
.faq-list > *,
.quick-links > * {
  margin: 0 !important;
}

/* --- ALIGNMENT + VERTICAL / HORIZONTAL SPACING ------------------------ */
section h1, section h2, section h3, section h4 {
  margin-bottom: 13px;
}
.content-wrapper > h1, .content-wrapper > h2, .content-wrapper > h3, .content-wrapper > h4 {
  margin-bottom: 13px;
}

/* --- ENSURE DARK TEXT ON LIGHT BG IN TESTIMONIALS/REVIEWS ------------- */
.testimonial-card, .review-card, .guide-tile, .topic-card, .news-card {
  color: #232946;
  background: #FFFDF9;
}

/* --- ADDRESS & CONTACT ICON INLINE ------------------------------------ */
.text-section ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 13px;
  height: 1.45em;
}

/* --- MISC ICONS (e.g. star, etc.) ------------------------------------- */
.rating-stars img {
  vertical-align: middle;
}

/* --- END OF CSS ------------------------------------------------------- */
