/*------------------------------------------------------------
  CSS RESET & NORMALIZE (vintage_retro style foundation)
-------------------------------------------------------------*/
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background-color: #FFF8ED; /* Soft vintage parchment */
  color: #403632;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #FFB800;
  outline-offset: 2px;
}

/*------------------------------------------------------------
  FONT IMPORTS: Retro/Vintage (with fallbacks)
-------------------------------------------------------------*/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
       url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  font-style: normal;
  src: local('Montserrat Regular'), local('Montserrat-Regular'),
       url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');
}

/* Vintage display font for logo and headings */
.retro-font, h1, h2, h3, .logo {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 2px;
  font-weight: 700;
}

/*------------------------------------------------------------
  BRAND PALETTE (retro accent overlays)
-------------------------------------------------------------*/
:root {
  --primary: #17476D;
  --secondary: #E0F0EA;
  --accent: #FFB800;
  --vintage-bg: #FFF8ED;
  --vintage-brown: #8D6748;
  --vintage-orange: #F0C590;
  --vintage-red: #DE7862;
  --vintage-green: #639266;
  --vintage-blue: #7DA9B7;
  --heading: #17476D;
  --text-main: #403632;
  --card-bg: #FFFDF5;
  --card-shadow: 0 3px 24px rgba(61,35,9,0.11);
  --input-bg: #fff8ed;
  --input-border: #E6C29D;
}

/*------------------------------------------------------------
  CONTAINERS
-------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/*------------------------------------------------------------
  SECTIONS & SPACING (vintage block shadows, pattern BGs)
-------------------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background-repeat: repeat;
  background-size: 64px 64px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Patterned BG for hero and vintage blocks */
section:nth-child(odd) {
  background-color: #fffbe6;
}
section:nth-child(even) {
  background-color: #FFF8ED;
}

/*------------------------------------------------------------
  HEADINGS (vintage shadow, color, hierarchy)
-------------------------------------------------------------*/
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  color: var(--heading);
  text-shadow: 0 2px 0 #E0F0EA, 0 4px 18px rgba(23,71,109,0.11);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--vintage-brown);
  text-shadow: 0 2px 0 #fffbe6;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--vintage-red);
  font-weight: 700;
}
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
}
.subtitle {
  font-size: 1.25rem;
  color: var(--vintage-brown);
  margin-bottom: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

/*------------------------------------------------------------
  TYPOGRAPHY
-------------------------------------------------------------*/
p, li, label, input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

ul, ol {
  margin-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
}

/* Retro List Dots */
ul.feature-grid > li::before, ul.value-list > li::before {
  content: '\25CF';
  color: var(--vintage-orange);
  font-size: 1.15em;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
}

/* Remove accent dots for custom icon lists */
ul.feature-grid > li, ul.value-list > li {
  position: relative;
  padding-left: 0;
  margin-left: 0;
}

/*------------------------------------------------------------
  CARD CONTAINER (FLEXBOX ONLY)
-------------------------------------------------------------*/
.card-container, .feature-grid, .services-list, .services-offer, .team-list, .value-list, .topic-list, .upcoming-workshops-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card, .testimonial-card, .feature-item, .services-list > li, .services-offer > li, .team-list > li, .value-list > li, .topic-list > li, .blog-list > li {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(61,35,9,0.15), 0 1.5px 6px rgba(250,185,0,0.08);
  margin-bottom: 20px;
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card img, .feature-grid img, .value-list img, .topic-list img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: sepia(0.3) contrast(1.1);
}

.card h3, .feature-grid h3, .services-list h3, .services-offer h3, .value-list strong {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

/*------------------------------------------------------------
  FLEX LAYOUTS (MANDATORY PATTERNS)
-------------------------------------------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: 0 7px 24px 0 rgba(61,35,9,0.08);
  background: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom testimonial slider wrapper */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}

/* Content alignment rules */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

/*------------------------------------------------------------
  BUTTONS & LINKS (Retro style)
-------------------------------------------------------------*/
.button {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  background-color: var(--accent);
  color: #2f231c;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 18px 0 rgba(250,185,0,0.10);
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.4,0,.2,1),
    color 0.2s, box-shadow 0.2s;
  margin: 8px 8px 8px 0;
  text-shadow: 0 1.5px #FFFEE0;
  letter-spacing: 1.2px;
}
.button.primary {
  background-color: var(--accent);
  color: #382815;
  border: 2px solid var(--accent);
}
.button.secondary {
  background-color: var(--primary);
  color: #fffbe7;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 10px 0 rgba(38,94,133,0.08);
}
.button:hover,
.button:focus {
  background-color: #FFD34B;
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(255,184,0,0.15);
  outline: none;
}
.button.secondary:hover,
.button.secondary:focus {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Menu & nav links */
nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-right: 28px;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.18s, color 0.16s;
  font-weight: 700;
}
nav a:hover {
  border-bottom: 2.5px solid var(--accent);
  color: var(--vintage-red);
}

/* Footer menu links */
.footer-menu a {
  color: var(--vintage-brown);
  margin: 0 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: var(--vintage-red);
}

/*------------------------------------------------------------
  HEADER/NAVIGATION/MOBILE MENU
-------------------------------------------------------------*/
header {
  background: var(--vintage-bg);
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 2px 16px 0 rgba(250,184,0,0.07);
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 78px;
}
header img[alt='Cesta k Prosperitě'] {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-right: auto;
}
header .button.primary {
  margin-left: auto;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: var(--accent);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(232,212,191,0.97);
  box-shadow: -2px 0 18px rgba(140,67,0,0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.47,0,.74,.71);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.4em;
  color: var(--primary);
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.3rem;
  padding: 14px 0;
  color: var(--primary);
  border-bottom: 2.5px dotted transparent;
  border-radius: 7px;
  transition: background 0.14s, border-color 0.17s,
              color 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.5px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--primary);
  outline: none;
}

/* Hide desktop nav on mobile and style burger */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .button.primary {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
}

/*------------------------------------------------------------
  FLEXBOX RESPONSIVE LAYOUTS
-------------------------------------------------------------*/
@media (max-width: 992px) {
  .card-container, .feature-grid, .services-list, .services-offer, .team-list, .value-list, .topic-list, .upcoming-workshops-list, .blog-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 20px;
  }
  section {
    padding: 30px 0;
    margin-bottom: 36px;
  }
  .card-container, .feature-grid, .services-list, .services-offer, .team-list, .value-list, .topic-list, .upcoming-workshops-list, .blog-list {
    flex-direction: column;
    gap: 13px;
  }
  .card, .testimonial-card, .feature-item, .services-list > li, .services-offer > li, .team-list > li, .value-list > li, .topic-list > li, .blog-list > li {
    min-width: 0;
    width: 100%;
    padding: 18px 10px 14px 10px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .button {
    font-size: 0.98rem;
    padding: 11px 20px;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 14px;
  }
}

/*------------------------------------------------------------
  TESTIMONIALS & STAR RATINGS
-------------------------------------------------------------*/
.testimonial-card {
  border-left: 7px solid var(--accent);
  background: #fffdf7;
  color: #1b0e07;
  box-shadow: 0 8px 20px 0 rgba(23,71,109,.07);
  font-size: 1.06em;
}
.testimonial-card .client-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06em;
  margin-left: 0;
  color: var(--primary);
}
.stars {
  color: var(--vintage-orange);
  font-size: 1.15em;
  letter-spacing: 0.05em;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Override for good contrast */
.testimonial-card p, .testimonial-card .client-name {
  color: #2e2102;
}

/*------------------------------------------------------------
  FEATURE GRIDS, SERVICE LISTS, VALUE LISTS
-------------------------------------------------------------*/
.feature-grid, .services-list, .services-offer, .value-list, .topic-list, .blog-list {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature-grid > li, .services-list > li, .services-offer > li, .value-list > li, .topic-list > li, .blog-list > li {
  background: var(--card-bg);
  border: 1.7px solid #e6d2bd;
  border-radius: 13px;
  box-shadow: 0 3px 16px rgba(160,115,0,0.09);
  padding: 18px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.17s, border-color 0.18s;
}
.feature-grid > li:hover, .services-list > li:hover, .services-offer > li:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(255,184,0,0.13);
  background: #fff6e3;
}
.value-list > li {
  background: #FEF8EE;
  border: 1.5px dashed #FFB800;
}
.value-list strong {
  font-size: 1.09em;
  color: var(--primary);
}

/* Service price highlight */
.service-price {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11em;
  font-weight: 700;
  color: var(--accent);
  background: #fff9df;
  border-radius: 7px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

/*------------------------------------------------------------
  BLOG LIST & FILTER
-------------------------------------------------------------*/
.blog-list {
  gap: 24px;
}
.blog-list > li {
  min-width: 200px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border-left: 5px solid var(--vintage-blue);
}
.blog-list a {
  color: var(--primary);
  text-decoration: underline dotted;
  font-weight: 700;
  margin-top: 6px;
  transition: color 0.16s;
}
.blog-list a:hover {
  color: var(--vintage-red);
}
.blog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 16px;
  align-items: center;
}
.blog-tools input, .blog-tools select {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--input-bg);
  border: 1.3px solid var(--input-border);
  font-size: 1em;
}

/*------------------------------------------------------------
  FOOTER
-------------------------------------------------------------*/
footer {
  background: var(--vintage-bg);
  border-top: 3px solid var(--accent);
  padding: 36px 0 20px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
footer img[alt='Cesta k Prosperitě'] {
  height: 40px;
  margin: 12px 0;
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 0.98em;
}
@media (max-width: 600px) {
  .contact-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/*------------------------------------------------------------
  COOKIE CONSENT BANNER & MODAL (Vintage stylized)
-------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  background: #FFF4D8;
  box-shadow: 0 -6px 36px 0 rgba(131, 104, 28, 0.16);
  border-top: 4px solid var(--accent);
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 22px 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 100vw;
  width: 100vw;
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.closed {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  color: var(--primary);
  font-size: 1.02rem;
  line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner .button {
  padding: 12px 18px;
  font-size: 0.98em;
  border-radius: 20px;
}
.button.cookie-settings {
  background: var(--vintage-bg);
  color: var(--primary);
  border: 1.3px solid var(--primary);
}
.button.cookie-settings:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 8px;
    font-size: 0.97em;
  }
  .cookie-banner .cookie-text {
    font-size: 0.98em;
  }
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(110, 79, 27, 0.21);
  z-index: 10041;
  opacity: 1;
  display: none;
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  bottom: 13vh;
  left: 50%;
  transform: translateX(-50%) scale(1);
  background: #FFF4D8;
  border: 2.5px solid var(--accent);
  border-radius: 16px;
  box-shadow: 0 22px 68px rgba(140,67,0,0.21);
  z-index: 10052;
  padding: 36px 30px 26px 30px;
  width: 92vw;
  max-width: 420px;
  display: none;
  flex-direction: column;
  gap: 17px;
  animation: showModal .22s cubic-bezier(.4,0,.2,1);
}
@keyframes showModal {
  from {transform: translateX(-50%) scale(0.84); opacity: 0;}
  to {transform: translateX(-50%) scale(1); opacity: 1;}
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h3 {
  font-size: 1.25em;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
  margin-right: 6px;
}
.cookie-category.disabled input {
  accent-color: #b6a886;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/*------------------------------------------------------------
  FORMS, IN-PAGE INPUTS (Contact/Blog/Etc)
-------------------------------------------------------------*/
input, textarea, select {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  padding: 9px 11px;
  font-size: 1em;
  border-radius: 8px;
  margin-bottom: 14px;
  transition: border-color 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(250,184,0,0.12);
  outline: none;
}
label {
  display: block;
  font-size: 1em;
  margin-bottom: 4px;
  color: var(--primary);
  font-weight: 600;
}

/*------------------------------------------------------------
  DETAILS/PROGRESS/OL STEPS (Workflow etc.)
-------------------------------------------------------------*/
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: steps;
  margin: 20px 0 0 0;
}
.workflow-steps > li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 15px;
  background: #FEF8EE;
  border: 1.5px dashed var(--accent);
  border-radius: 11px;
  padding: 17px 18px 17px 18px;
  position: relative;
  box-shadow: 0 3px 10px rgba(61,35,9,0.05);
  min-height: 80px;
}
.workflow-steps > li img {
  width: 38px;
  height: 38px;
}
.workflow-steps > li strong {
  color: var(--vintage-red);
  font-size: 1.07em;
}

ol.workflow-steps {
  list-style: none;
  padding-left: 0;
}
.workflow-steps > li:before {
  content: counter(steps);
  counter-increment: steps;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01em;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-right: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,184,0,0.10);
}

/*------------------------------------------------------------
  UTILITY CLASSES
-------------------------------------------------------------*/
.d-none { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-32 { margin-top: 32px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-12 { margin-bottom: 12px; }

/*------------------------------------------------------------
  RETRO/NOSTALGIC ACCENTS & MICRO-ANIMATIONS
-------------------------------------------------------------*/
.card, .testimonial-card, .button, .blog-list > li, .feature-grid > li {
  transition: box-shadow 0.17s, border-color 0.18s, background 0.18s;
}
.card:hover, .testimonial-card:hover, .feature-grid > li:hover, .blog-list > li:hover {
  box-shadow: 0px 10px 32px 0 rgba(255,184,0,0.17), 0 3px 9px 0 rgba(115,64,16,0.05);
  background: #fffce8;
  border-color: var(--accent);
}

.button:active {
  transform: scale(0.97);
}

/* Vintage pattern overlay (light dot) on hero sections */
section.hero {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle opacity='0.14' cx='2' cy='2' r='2' fill='%23FFB800'/%3E%3C/svg%3E");
}

/* Decorative underline for headings using :after */
h1::after, h2::after {
  content: '';
  display: block;
  width: 61px;
  height: 4px;
  background: var(--accent);
  margin: 17px 0 0 0;
  border-radius: 2px;
}

/*------------------------------------------------------------
  FOCUS/ACCESSIBILITY
-------------------------------------------------------------*/
.button:focus {
  outline: 2.5px dashed var(--vintage-red);
  outline-offset: 3px;
}
a:focus, .mobile-nav a:focus {
  outline: 2.5px dashed var(--vintage-blue);
  outline-offset: 3px;
}

/*------------------------------------------------------------
  PRINT FRIENDLY
-------------------------------------------------------------*/
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner,
  .cookie-modal, .cookie-modal-backdrop, header, footer {
    display: none !important;
  }
  section, .container {
    margin: 0;
    padding: 0;
  }
  body {
    background: #fff !important;
    color: #111 !important;
  }
}
