/*--- CSS RESET & BASE ---*/
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,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F1ED;
  color: #17243c;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #E5625E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A63D33;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
/* --- FONT IMPORTS (for Montserrat and Open Sans) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* --- VINTAGE RETRO COLORS --- */
:root {
  --primary: #17243c;
  --secondary: #F4F1ED;
  --accent: #E5625E;
  --retro-gold: #E1B867;
  --retro-cyan: #55BFC0;
  --retro-brown: #986A44;
  --retro-olive: #8B9950;
  --card-shadow: 0 2px 12px rgba(65, 47, 26, 0.10), 0 0.5px 1px 0 rgba(33,33,33,.06);
  --border-radius: 14px;
  --pattern-stripes: repeating-linear-gradient(135deg, #F4F1ED, #F4F1ED 12px, #E1B867 12px, #E1B867 16px);
}

/* --- TYPOGRAPHY --- */
h1, .display, .hero h1 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 0 #E1B867;
}
h2 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-shadow: 0.5px 0.5px 0 #F4F1ED;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--retro-brown);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial;
  color: var(--primary);
}
p, li, ul, ol, span, .footer-copy, .category-descriptions {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary);
}
strong { font-weight: bold; }

/* --- OVERALL LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
}

.section, section:not(.hero):not(.policy):not(.confirmation) {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section, section:not(.hero):not(.policy):not(.confirmation) {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* --- HEADER / NAVIGATION --- */
header {
  background: var(--retro-gold);
  border-bottom: 4px solid var(--retro-brown);
  padding: 0;
  position: sticky;
  top: 0; left: 0; z-index: 1001;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
header img[alt*="CurioQuadr"] {
  max-height: 54px;
  margin-right: 26px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: none;
  border-radius: 6px;
  padding: 7px 10px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-brown);
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--accent);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 18px rgba(229, 98, 94, 0.10);
  cursor: pointer;
  letter-spacing: 1px;
  margin-left: 12px;
  margin-right: 0;
  outline: none;
  transition: background 0.2s, box-shadow 0.18s, transform 0.14s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A63D33;
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(229, 98, 94, 0.19);
  text-decoration: none;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-brown);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1200;
  margin-left: 16px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(241, 235, 224, 0.97);
  z-index: 2100;
  align-items: flex-start;
  justify-content: flex-end;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 2201;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: #fffdf7;
  padding: 80px 30px 30px 38px;
  min-width: 260px;
  width: 85vw;
  max-width: 350px;
  height: 100vh;
  box-shadow: -8px 0 32px rgba(33,16,0,0.10);
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
  overflow-y: auto;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.63,.01,.54,1.16);
  z-index: 2200;
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.12rem;
  padding: 6px 0 6px 0;
  border-bottom: 2px solid transparent;
  margin-bottom: 2px;
  transition: color 0.15s, border-bottom 0.16s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
@media (max-width: 1020px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  min-height: 380px;
  background: var(--pattern-stripes);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 50px 0;
  margin-bottom: 40px;
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.hero.light {
  background: #fff9ef;
  border-bottom: 2px solid var(--retro-brown);
}
.hero h1 {
  color: var(--primary);
  text-shadow: 2px 2px 0 #E1B867;
}
.hero p {
  font-size: 1.18rem;
  color: var(--retro-brown);
}
@media (max-width: 768px) {
  .hero {
    min-height: 240px;
    padding: 38px 4px;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1.02rem;
  }
}

/* --- FEATURE SECTIONS & LISTS --- */
.features .content-wrapper,
.features .feature-list,
.features .feature-grid,
.format-list,
.team-members {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features ul,
.team-members {
  margin-top: 14px;
}
.feature-list li,
.features .feature-grid li,
.format-list li,
.team-member {
  background: #fffdfa;
  border: 2px solid var(--retro-gold);
  border-radius: var(--border-radius);
  padding: 22px 20px;
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-list li:hover,.features .feature-grid li:hover,.team-member:hover {
  box-shadow: 0 8px 28px rgba(225, 184, 103, 0.17);
  transform: translateY(-2px) scale(1.012);
}
.features .feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  display: flex;
  flex-direction: row;
}
.features .feature-grid li {
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 340px;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.features .feature-grid img {
  width: 44px; height: 44px;
  margin-bottom: 7px;
}
.features .feature-list li img,
.team-member img {
  width:32px;height:32px;
}
.features .quality-summary {
  background: #F8EFE3;
  border-left: 6px solid var(--retro-olive);
  border-radius: 8px;
  padding: 13px 20px;
  margin-bottom: 18px;
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
}
@media (max-width: 900px) {
  .features .feature-grid {
    flex-direction: column;
  }
}

/* --- CARD LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fffdfa;
  border: 2px solid var(--retro-gold);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 36px rgba(225, 184, 103, 0.18);
  transform: translateY(-3px) scale(1.018);
}

.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) {
  .content-grid, .text-image-section, .features .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- TEAM / ABOUT / TESTIMONIALS --- */
.team-members {
  flex-wrap: wrap;
  gap: 28px;
}
.team-member {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 330px;
  background: #FBF5E7;
  border: 2px solid var(--retro-olive);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  padding: 22px 18px;
  transition: box-shadow 0.16s, transform 0.13s;
}

.testimonials .testimonial-slider,
.testimonials {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 230px;
  max-width: 350px;
  border-radius: var(--border-radius);
  background: #fffbed;
  border: 3px solid var(--primary);
  box-shadow: 0 6px 21px rgba(23,36,60,0.07);
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: #222;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(23, 36, 60, 0.16);
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  font-size: 1.02rem;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .testimonials .testimonial-slider {
    flex-direction: column;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* --- CARD, CONTENT, AND FEATURE ALIGNMENT --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- FORMS & CONTACT SECTIONS --- */
.contact .content-wrapper p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-intro a, .contact a, .form a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}
.form-intro a:hover, .contact a:hover, .form a:hover {
  color: var(--accent);
}

/* --- FAQ / LISTS --- */
.steps ol {
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.steps li {
  background: #fdf7ea;
  border-radius: 8px;
  border-left: 5px solid var(--accent);
  padding: 15px 18px;
  margin-bottom: 10px;
  color: var(--retro-brown);
}
.shopping-tips, .faq ul {
  margin-top: 12px;
}
.shopping-tips h3 {
  color: var(--retro-brown);
  margin-bottom: 7px;
}
.faq ul li {
  background: #f8f1dc;
  padding: 14px 17px;
  border-radius: 7px;
  border-left: 3px solid var(--retro-gold);
  margin-bottom: 11px;
}

/* --- ARTICLES & BLOG --- */
.articles article {
  background: #fffdfa;
  border: 2px solid var(--retro-gold);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.17s, transform 0.13s;
}
.articles article:hover {
  box-shadow: 0 16px 44px rgba(225,184,103,0.13);
  transform: translateY(-2px) scale(1.012);
}
.read-more {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.01rem;
  transition: color 0.13s;
}
.read-more:hover, .read-more:focus {
  color: var(--primary);
  text-decoration: underline;
}

.categories .category-tags, .filters .filter-tags, .filters .category-filters, .filters .sort-options {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.categories .category-tags span, .filters .filter-tags span {
  background: var(--retro-cyan);
  color: #fff;
  border-radius: 3px;
  font-size: 0.98rem;
  padding: 4px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.category-filters a, .sort-options a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0 3px;
  transition: color 0.14s;
}
.category-filters a:hover, .sort-options a:hover {
  color: var(--accent);
}

/* --- CTA SECTIONS --- */
.cta {
  background: #F4F1ED;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px rgba(225, 184, 103, 0.09);
  margin-top: 30px;
  margin-bottom: 40px;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: var(--retro-olive);
  margin-bottom: 16px;
  text-shadow: none;
}
.cta p {
  color: var(--primary);
  font-size: 1.11rem;
  margin-bottom: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 0 0;
  border-top: 4px solid var(--retro-brown);
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 70px;
}
footer .container {
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--retro-gold);
  font-weight: 600;
  font-size: 1.01rem;
  opacity: 0.85;
  transition: color 0.16s, opacity 0.14s;
}
footer nav a:hover {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #f3e7c7;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 16px; height: 16px; vertical-align: middle; margin-right: 4px;
}
.footer-contact span {
  margin-top: 4px;
  font-style: italic;
  color: #e6e2d3;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 7px;
}
.footer-social a img {
  width: 28px; height: 28px; border-radius: 50%; background: #fffefc; padding: 3px; transition: box-shadow 0.15s;
}
.footer-social a:hover img {
  box-shadow: 0 8px 30px #e1b86742;
}
.footer-copy {
  font-size: 0.93rem;
  margin-top: 14px;
  color: #e1b867b7;
}
@media (max-width: 900px) {
  footer .container {
    padding-left: 8px; padding-right: 8px;
  }
  footer .content-wrapper {
    gap: 11px;
  }
}

/* --- POLICY / MODAL DIALOGS --- */
.policy, .confirmation {
  background: #fff6e8;
  border: 2px solid var(--retro-brown);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px rgba(225, 184, 103, 0.09);
  padding: 44px 22px;
  margin-top: 40px;
  margin-bottom: 55px;
  font-size: 1.07rem;
}
.policy h1, .confirmation h1 {
  font-size: 2.1rem;
  margin-bottom: 22px;
  color: var(--accent);
}
.policy h2 {
  margin-top: 18px; margin-bottom: 9px; color: var(--retro-brown);
}
.policy ul {
  margin-left: 18px;
  list-style-type: square;
}
.policy li {
  margin-bottom: 5px;
}
.confirmation .thank-you-message {
  border-radius: 7px;
  background: #FBF5E7;
  padding: 14px 12px;
  margin-bottom: 14px;
  color: var(--primary);
  box-shadow: 0 1px 8px rgba(225, 184, 103, 0.05);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  width: 100vw;
  background: #fff9e6;
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-top: 4px solid var(--retro-brown);
  box-shadow: 0 -6px 18px #E1B86728;
  padding: 22px 14vw 20px 14vw;
  font-size: 1rem;
  animation: cookieSlideIn 0.82s cubic-bezier(.64,2.1,.4,.94);
}
@keyframes cookieSlideIn {
  0% { opacity: 0; transform: translateY(100%); }
  64% { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 3px;
  flex: 1 1 242px;
  text-align: left;
  color: var(--primary);
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 23px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.13s, box-shadow 0.16s;
  outline: none;
  box-shadow: 0 2px 10px #E5625E18;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #A63D33;
}
.cookie-btn.secondary {
  background: #F4F1ED;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-btn.secondary:hover {
  background: var(--retro-gold);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--retro-cyan);
  color: #fff;
  border: 2px solid var(--retro-cyan);
}
.cookie-btn.settings:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 900px) {
  .cookie-banner {
    padding: 16px 6vw 16px 6vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.97rem;
  }
  .cookie-actions {
    width: 100%;
    gap: 12px;
  }
}
/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34, 16, 3, 0.38);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff9e6;
  border: 4px solid var(--retro-gold);
  border-radius: 15px;
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 460px;
  box-shadow: 0 12px 40px #E1B86730;
  animation: boxAppear .6s cubic-bezier(.59,1.38,.52,.75);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}
@keyframes boxAppear {
  from { opacity: 0; transform: scale(0.79); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-content h3 {
  color: var(--accent);
  font-size: 1.24rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 17px; height: 17px;
}
.cookie-info {
  font-size: 0.99rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.cookie-modal-content .cookie-actions {
  justify-content: flex-end;
}
.cookie-modal-content .close {
  position: absolute;
  top: 13px; right: 17px;
  font-size: 1.7rem;
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
}
.cookie-modal-content .close:hover {
  color: var(--primary);
}

/* --- TRANSITIONS --- */
button, .cta-btn, .cookie-btn, a {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, border 0.16s, transform 0.14s;
}

/* --- SPACING ADJUSTMENTS & OVERLAP PREVENTION --- */
section, .section, .content-wrapper, .card-container, .card, .features .feature-grid, .team-members, .content-grid, .testimonial-slider, .testimonials {
  margin-bottom: 20px;
}
@media (max-width: 500px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.05rem; }
  .container {
    padding-left: 3px; padding-right: 3px;
  }
  .hero { padding: 22px 2px; }
  .cta-btn { padding: 10px 12px; font-size: 1rem; }
}

/* --- RETRO / NOSTALGIC DECOR --- */
@media (min-width: 801px){
  .hero::after {
    content: '';
    display: block;
    position: absolute;
    top: 46px; right: 12vw;
    width: 110px; height: 110px;
    background: url('data:image/svg+xml;utf8,<svg width="110" height="110" xmlns="http://www.w3.org/2000/svg"><circle cx="55" cy="55" r="52" stroke="%23E1B867" stroke-width="6" fill="none"/><circle cx="55" cy="55" r="38" stroke="%23E5625E" stroke-width="3" fill="none"/><circle cx="55" cy="55" r="25" stroke="%2355BFC0" stroke-width="3" fill="none"/></svg>') no-repeat center/contain;
    pointer-events: none;
    opacity: 0.55;
    z-index: 1;
  }
}

/* --- SCROLLBAR CUSTOMIZATION --- */
::-webkit-scrollbar {
  width: 11px;
  background: #F4F1ED;
}
::-webkit-scrollbar-thumb {
  background: #E1B867;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E5625E;
}

/* --- HIDE UNWANTED GRID/COLUMN PROPERTIES --- */
/* (Nothing, only flexbox used as required) */
