:root {
    --color-background: #ffffff;
    --color-text: #111111;
    --color-accent: #0073aa;
    --color-primary: #4E21A4;
    --content-max-width: 1400px;

    /* Colour roles the theme's own components read — header, buttons, forms,
       the shop. A project's tokens-*.css (loaded after this file, see
       inc/enqueue.php) maps its palette onto every one of them. Nothing below
       this block repeats a colour value: the placeholders are mixes of the four
       above, so the starter renders on its own and stays grey until a palette
       arrives. One value is new, the error hue — it cannot be derived. */
    --canvas: var(--color-background);                                /* page ground */
    --ink: var(--color-text);                                         /* text and functional 1px rules */
    --on-ink: var(--color-background);                                /* text on an ink fill */
    --accent: var(--color-accent);                                    /* the one filled action per screen */
    --accent-hover: color-mix(in srgb, var(--accent) 85%, var(--ink));
    --accent-edge: var(--accent);                                     /* the filled button's edge; a light accent sets a darker one */
    --on-accent: var(--color-background);                             /* text on the accent fill */
    --text-2: color-mix(in srgb, var(--ink) 65%, var(--canvas));      /* secondary and meta text */
    --line: color-mix(in srgb, var(--ink) 18%, var(--canvas));        /* decorative hairlines; a rule that carries meaning uses --ink */
    --surface: color-mix(in srgb, var(--ink) 4%, var(--canvas));      /* a lifted surface: notices, thumbnails, the open menu */
    --plate: var(--surface);                                          /* the ground a product photograph sits on */
    --error: #b42318;

    /* Structure. --gutter and --max belong to .wrap, the one container (H11). */
    --gutter: 20px;
    --max: var(--content-max-width);
    --section: 64px;
    --t: .2s cubic-bezier(.4, 0, .2, 1);
}
@media (min-width: 48rem) { :root { --gutter: 40px; --section: 96px; } }
@media (min-width: 64rem) { :root { --gutter: 48px; } }

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* `main` is not a container. Sections are full-bleed and each band's content
   sits in .wrap, the one container (house rule H11) — boxing `main` as well
   would contain everything twice, and painted the hero at 1100px. */

.site-footer {
    margin: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--on-ink);
    z-index: 100;
}

.acf-missing-template {
    padding: 1rem;
    margin: 1rem 0;
    border: 1px dashed #d63638;
    background-color: #fff5f5;
}
/* ========================================================================== */
/* Text + Image                                                               */
/* ========================================================================== */

.mw-text-image__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.mw-text-image.mw-image-left .mw-text-image__inner {
  grid-template-columns: 1fr 1.1fr;
}

.mw-text-image__media { width: 100%; }
.mw-text-image__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.mw-text-image__text .mw-module__title { margin-bottom: .25rem; }
.mw-text-image__text .mw-prose { color: var(--color-text); }

/* Reorder for left/right */
.mw-text-image.mw-image-right .mw-text-image__media { order: 2; }
.mw-text-image.mw-image-right .mw-text-image__text  { order: 1; }
.mw-text-image.mw-image-left  .mw-text-image__media { order: 1; }
.mw-text-image.mw-image-left  .mw-text-image__text  { order: 2; }

@media (max-width: 900px) {
  .mw-text-image__inner { grid-template-columns: 1fr; }
  .mw-text-image__media,
  .mw-text-image__text { order: initial; }
}

/* ========================================================================== */
/* FAQ                                                                        */
/* ========================================================================== */

.mw-faq__list {
  border-top: 1px solid #e9e9e9;
}
.mw-faq__item {
  border-bottom: 1px solid #e9e9e9;
  background: transparent;
}

.mw-faq__q { margin: 0; }
.mw-faq__toggle {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 0;
  background: none;
  border: 0;
  color: var(--color-text);
  font: inherit;
  cursor: pointer;
}

.mw-faq__toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.mw-faq__icon {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
  font-weight: 700;
  line-height: 1;
}

.mw-faq__toggle[aria-expanded="true"] .mw-faq__icon {
  transform: rotate(45deg); /* + turns into × */
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.mw-faq__a {
  padding: 0 0 1rem;
}



/* Optional: light-theme code block border on very light backgrounds */
@media (prefers-color-scheme: light) {
  .mw-codeblock__wrap { border-color: #e9e9e9; }
}

/* ========================================================================== */
/* Helpers                                                                    */
/* ========================================================================== */

/* Space utilities you might reuse inside modules */
.mw-space-xs { margin-block: .5rem; }
.mw-space-sm { margin-block: 1rem; }
.mw-space-md { margin-block: 1.5rem; }
.mw-space-lg { margin-block: 2rem; }
.mw-space-xl { margin-block: 3rem; }

/* Buttons that match anchor color system */
.mw-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem .9rem;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  text-decoration: none;
  cursor: pointer;
}
.mw-btn:hover,
.mw-btn:focus-visible {
  text-decoration: none;
  filter: brightness(0.95);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Cards (e.g., to wrap columns if you want stronger contrast) */
.mw-card {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

/* Hide-only helper (still accessible to screen readers) */
.mw-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========================================================================== */
/* Intro Section                                                              */
/* ========================================================================== */

.intro {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.intro__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.intro__slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.intro__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  min-height: 100vh;
}


.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.intro__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro__subtitle {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 10px 0;
  text-transform: none;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.intro__title {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro__button.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
  margin-top: 20px;
  align-self: flex-start;
  text-shadow: none;
  white-space: nowrap;
}

.intro__button.btn:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}

.intro__right {
  position: relative;
  align-self: flex-end;
  margin-bottom: 0;
  margin-top: auto;
  margin-left: auto;
  padding-bottom: 0;
}

.intro__text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.intro__text p {
  margin: 0 0 1rem 0;
  color: #ffffff;
  width: 315px;
  max-width: 100%;
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__text strong {
  font-weight: 700;
  color: #ffffff;
}

.intro__partners {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro__partners-label {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.intro__partners-list {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.intro__partner {
  display: flex;
  align-items: center;
  justify-content: center;

}

.intro__partner:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.intro__partner a {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.intro__partner img {
  max-width: 140px;
  height: auto;
  display: block;
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro__right {
    order: 2;
  }

  .intro__left {
    order: 1;
  }

  .intro__text {
    padding: 0;
  }
  
  .intro__text p {
    width: 100%;
  }
  
}

@media (max-width: 768px) {
  .intro__content {
    padding: 100px 0 80px;
  }

  .intro__inner {
    gap: 30px;
  }

  .intro__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .intro__text {
    font-size: 0.95rem;
    padding: 0;
  }
  
  .intro__text p {
    width: 100%;
  }
  

  .intro__partners {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 40px;
    padding: 0 20px;
  }

  .intro__partners-list {
    gap: 20px;
  }

  .intro__partner {
    padding: 12px 20px;
  }

  .intro__partner img {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .intro__partners-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro__partner img {
    max-width: 80px;
  }
}

/* ========================================================================== */
/* Stats Section                                                              */
/* ========================================================================== */

.stats-section {
    padding: 120px 0;
    background: #ffffff;
}


/* Top Section: Tagline, Text, and Circular Charts */
.stats-section__top {
    max-width: 1110px;
    margin: 0 auto;
}

.stats-section__tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
    font-weight: 400;
}

.stats-section__text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: #111827;
    font-weight: 500;
    
    margin-bottom: 60px;
}

.stats-section__text p {
    margin: 0;
}

/* Circular Progress Charts */
.stats-section__charts {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.stats-section__chart {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 0 0 auto;
}

.stats-section__chart-circle {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-section__chart-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stats-section__chart-bg {
    stroke: #e5e7eb;
}

.stats-section__chart-progress {
    stroke: #4b269f;
    transition: stroke-dashoffset 1s ease-in-out;
}

.stats-section__chart-percentage {
    position: absolute;
    font-size: 36px;
    font-weight: 600;
    color: #111827;
    line-height: 1;
}

.stats-section__chart-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-top: 8px;
}

.stats-section__chart-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 200px;
}

/* Bottom Section: Images and Bar Charts */
.stats-section__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 160px;
    align-items: start;
}

.stats-section__images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-section__right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-section__image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-section__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Bar Charts */
.stats-section__bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-section__bars-heading {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
}

.stats-section__bars-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-section__bar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-section__bar-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 4px;
}

.stats-section__bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-section__bar-bg {
    flex: 1;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.stats-section__bar-fill {
    height: 100%;
    background: #4b269f;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

.stats-section__bar-percentage {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    min-width: 45px;
    text-align: right;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-section__charts {
        gap: 60px;
    }

    .stats-section__chart-circle {
        width: 160px;
        height: 160px;
    }

    .stats-section__chart-percentage {
        font-size: 32px;
    }

    .stats-section__bottom {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 0;
    }

    .stats-section__top {
        margin-bottom: 60px;
    }

    .stats-section__text {
        margin-bottom: 40px;
    }

    .stats-section__charts {
        gap: 40px;
        justify-content: flex-start;
    }

    .stats-section__chart-circle {
        width: 140px;
        height: 140px;
    }

    .stats-section__chart-percentage {
        font-size: 28px;
    }

    .stats-section__bottom {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-section__images {
        gap: 20px;
    }

    .stats-section__right-column {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 60px 0;
    }

    .stats-section__tagline {
        font-size: 10px;
    }

    .stats-section__text {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }

    .stats-section__charts {
        flex-direction: column;
        gap: 30px;
    }

    .stats-section__chart-circle {
        width: 120px;
        height: 120px;
    }

    .stats-section__chart-percentage {
        font-size: 24px;
    }

    .stats-section__chart-title {
        font-size: 16px;
    }

    .stats-section__chart-description {
        font-size: 13px;
    }

    .stats-section__bars-heading {
        font-size: 18px;
    }
}

/* ========================================================================== */
/* About Section                                                              */
/* ========================================================================== */

.about-section {
    position: relative;
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}


/* ===========================
   TOP (subtitle + title + icons + button)
=========================== */

.about-section__top {
    padding: 110px 0 0px;
    background: #ffffff;
}

.about-section__subtitle {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
}

/* 2 kolona: tekst majtas, ikona djathtas */
.about-section__top-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.about-section__top-left {
    flex: 0 0 58%;
}

.about-section__top-right {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  /* ikonat + butoni poshtë */
    align-items: flex-end;
}

/* titulli i madh */
.about-section__top-text {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: #111827;
    font-weight: 500;
    max-width: 720px;
}

.about-section__top-text p {
    margin: 0;
}

/* lista e ikonave */
.about-section__features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.about-section__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.about-section__feature-icon img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.about-section__feature-text {
    display: block;
}

/* butoni (përdoret edhe poshtë) */
.about-section__button,
.about-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 32px;
    border-radius: 999px;
    background: #4b269f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(75, 38, 159, 0.4);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.about-section__button:hover,
.about-section .btn:hover {
    background: #5b35b3;
    transform: translateY(-1px);
    box-shadow: 0 22px 52px rgba(75, 38, 159, 0.5);
}

/* ===========================
   MIDDLE (purple band + staggered images)
=========================== */

.about-section__middle {
    position: relative;
    background: #ffffff;
    padding: 140px 0 200px; /* hapësirë sipër + poshtë */
    overflow: visible;
}

/* banda vjollcë që fillon poshtë fotove */
.about-section__middle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 230px;
    bottom: 0;
    background: #4b269f;
    z-index: 0;
}

.about-section__middle-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

.about-section__middle-column {
    flex: 1;
    max-width: 460px;
    color: #ffffff;
    position: relative;
}

/* --- KËTU BËJMË STAGGER: NJËRA MË LART, TJETRA MË POSHT --- */
.about-section__middle-column:first-child {
    margin-top: -40px;   /* kolona e majtë më lart */
}

.about-section__middle-column:last-child {
    margin-top: 40px;    /* kolona e djathtë më poshtë */
}
/* ---------------------------------------------------------- */

/* imazhet */
.about-section__middle-image {
    margin-bottom: 28px;
}

.about-section__middle-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

/* tekst në purple */
.about-section__middle-heading {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #ffffff;
}

.about-section__middle-text {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.about-section__middle-text p {
    margin: 0 0 4px;
}

/* ===========================
   BOTTOM (floating white card)
=========================== */

.about-section__bottom {
    position: relative;
    z-index: 2;
    margin-top: -130px;   /* karta e bardhë mbi purple */
    padding-bottom: 120px;
}

.about-section__bottom-inner {
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22);
    padding: 46px 64px;
    display: flex;
    align-items: flex-start;
    gap: 80px;
    position: relative;
    overflow: hidden;
}

/* left side */
.about-section__bottom-left {
    flex: 0 0 40%;
}

.about-section__bottom-heading {
    font-size: 21px;
    line-height: 1.6;
    color: #111827;
    margin: 0 0 26px;
}

/* right side */
.about-section__bottom-right {
    flex: 0 0 60%;
    position: relative;
}

/* wave dekorative */
.about-section__wave {
    position: absolute;
    inset: -40px -80px;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(75, 38, 159, 0.06) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(75, 38, 159, 0.08) 0, transparent 60%),
        linear-gradient(130deg, rgba(75, 38, 159, 0.06) 0, transparent 30%, transparent 70%, rgba(75, 38, 159, 0.06) 100%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.about-section__bottom-text {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.9;
    color: #6b7280;
}

.about-section__bottom-text p {
    margin: 0 0 4px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1024px) {
    .about-section__top-inner {
        flex-direction: column;
        gap: 40px;
    }

    .about-section__top-right {
        justify-content: flex-start;
    }

    .about-section__middle-inner {
        flex-direction: column;
        gap: 56px;
    }

    /* në mobile/ tablet mos i mbaj të zhvendosura */
    .about-section__middle-column:first-child,
    .about-section__middle-column:last-child {
        margin-top: 0;
    }

    .about-section__bottom-inner {
        flex-direction: column;
        gap: 32px;
        padding: 36px 32px;
    }

    .about-section__bottom-left,
    .about-section__bottom-right {
        flex: 1 1 100%;
    }

    .about-section__bottom {
        margin-top: -90px;
    }
}

@media (max-width: 640px) {
    .about-section__top {
        padding: 80px 0 50px;
    }

    .about-section__middle {
        padding: 110px 0 160px;
    }

    .about-section__middle::before {
        top: 210px;
    }

    .about-section__bottom-inner {
        padding: 30px 22px 34px;
        border-radius: 22px;
    }

    .about-section__top-text {
        font-size: 1.6rem;
    }
}

/* ========================================================================== */
/* Services Cards Section                                                     */
/* ========================================================================== */

.services-cards-section {
    padding: 120px 0;
    background: #ffffff;
}


.services-cards-section__tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
    font-weight: 400;
}

.services-cards-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: #111827;
    font-weight: 600;
    margin: 0 0 60px;
}

/* Service Cards Grid */
.services-cards-section__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-cards-section__card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.services-cards-section__card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.services-cards-section__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-cards-section__card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-cards-section__card-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.services-cards-section__card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.services-cards-section__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4b269f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
}

.services-cards-section__card-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.services-cards-section__card-separator {
    height: 1px;
    background: #e5e7eb;
    margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-cards-section__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-cards-section {
        padding: 80px 0;
    }

    .services-cards-section__title {
        margin-bottom: 40px;
    }

    .services-cards-section__cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-cards-section__card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .services-cards-section {
        padding: 60px 0;
    }

    .services-cards-section__tagline {
        font-size: 10px;
    }

    .services-cards-section__title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .services-cards-section__card-content {
        padding: 16px;
    }

    .services-cards-section__card-title {
        font-size: 15px;
    }

    .services-cards-section__card-icon {
        width: 36px;
        height: 36px;
    }

    .services-cards-section__card-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================================================== */
/* Why Choose Us Section                                                     */
/* ========================================================================== */

.why-choose-us-section {
    padding: 120px 0;
    background: #f3f4f6;
}


.why-choose-us-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-choose-us-section__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-choose-us-section__tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 400;
    margin-bottom: 8px;
}

.why-choose-us-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: #111827;
    font-weight: 600;
    margin: 0;
}

.why-choose-us-section__text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

.why-choose-us-section__text p {
    margin: 0 0 16px;
}

.why-choose-us-section__text p:last-child {
    margin-bottom: 0;
}

.why-choose-us-section__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.why-choose-us-section__feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-choose-us-section__feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-us-section__feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.why-choose-us-section__feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    line-height: 1.5;
}

.why-choose-us-section__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-us-section__image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.why-choose-us-section__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .why-choose-us-section__inner {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 80px 0;
    }

    .why-choose-us-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-us-section__left {
        order: 1;
    }

    .why-choose-us-section__right {
        order: 2;
    }

    .why-choose-us-section__features {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .why-choose-us-section {
        padding: 60px 0;
    }

    .why-choose-us-section__tagline {
        font-size: 10px;
    }

    .why-choose-us-section__title {
        font-size: 1.5rem;
    }

    .why-choose-us-section__text {
        font-size: 15px;
    }

    .why-choose-us-section__feature-icon {
        width: 40px;
        height: 40px;
    }

    .why-choose-us-section__feature-text {
        font-size: 15px;
    }
}

/* ========================================================================== */
/* Pricing Plans Section                                                     */
/* ========================================================================== */

.pricing-plans-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Decorative purple curved lines */
.pricing-plans-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(75, 38, 159, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


.pricing-plans-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.pricing-plans-section__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-plans-section__tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 400;
    margin-bottom: 8px;
}

.pricing-plans-section__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: #111827;
    font-weight: 600;
    margin: 0;
}

.pricing-plans-section__description {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

.pricing-plans-section__description p {
    margin: 0;
}

/* Pricing Cards */
.pricing-plans-section__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-plans-section__card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.pricing-plans-section__card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide features by default for all cards */
.pricing-plans-section__card .pricing-plans-section__card-features {
    display: none;
}

/* Show features when card is active (clicked) */
.pricing-plans-section__card--active .pricing-plans-section__card-features {
    display: flex;
}

.pricing-plans-section__card--featured {
    background: #4b269f;
    border-color: #4b269f;
    color: #ffffff;
}

.pricing-plans-section__card-price {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-price {
    color: #4b269f;
}

.pricing-plans-section__card--featured .pricing-plans-section__card-price {
    color: #ffffff;
}

.pricing-plans-section__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding-right: 120px;
}

.pricing-plans-section__card-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-plans-section__card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-icon img {
    filter: grayscale(1) opacity(0.6);
}

.pricing-plans-section__card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-title {
    color: #111827;
}

.pricing-plans-section__card--featured .pricing-plans-section__card-title {
    color: #ffffff;
}

.pricing-plans-section__card-subtitle {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding-right: 120px;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-subtitle {
    color: #6b7280;
}

.pricing-plans-section__card--featured .pricing-plans-section__card-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-plans-section__card-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.3s ease;
}

.pricing-plans-section__card-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.pricing-plans-section__card-feature svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-feature {
    color: #374151;
}

.pricing-plans-section__card:not(.pricing-plans-section__card--featured) .pricing-plans-section__card-feature svg {
    color: #4b269f;
}

.pricing-plans-section__card--featured .pricing-plans-section__card-feature {
    color: #ffffff;
}

.pricing-plans-section__card--featured .pricing-plans-section__card-feature svg {
    color: #ffffff;
}

.pricing-plans-section__card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 8px;
    background: #5b35b3;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: background 0.3s ease;
}

.pricing-plans-section__card-button:hover {
    background: #6b45c3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pricing-plans-section__inner {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .pricing-plans-section {
        padding: 80px 0;
    }

    .pricing-plans-section__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-plans-section__left {
        order: 1;
    }

    .pricing-plans-section__right {
        order: 2;
    }

    .pricing-plans-section__card-header {
        padding-right: 100px;
    }

    .pricing-plans-section__card-subtitle {
        padding-right: 100px;
    }
}

@media (max-width: 480px) {
    .pricing-plans-section {
        padding: 60px 0;
    }

    .pricing-plans-section__tagline {
        font-size: 10px;
    }

    .pricing-plans-section__title {
        font-size: 1.5rem;
    }

    .pricing-plans-section__description {
        font-size: 15px;
    }

    .pricing-plans-section__card {
        padding: 20px;
    }

    .pricing-plans-section__card-price {
        font-size: 24px;
        top: 20px;
        right: 20px;
    }

    .pricing-plans-section__card-header {
        padding-right: 80px;
    }

    .pricing-plans-section__card-subtitle {
        padding-right: 80px;
        font-size: 13px;
    }

    .pricing-plans-section__card-title {
        font-size: 18px;
    }

    .pricing-plans-section__card-feature {
        font-size: 13px;
    }
}



/* ---------------------------------------------------------------------------
   team module - moved out of template-parts/flexible-content/team.php
   The colours below are the starter's placeholders. Replace them with the
   project's own tokens; a hex does not belong in a delivered theme.
   --------------------------------------------------------------------------- */
.hr { border-top: 1px solid #e5e7eb; }
.hr.hr--team { border-top-color: #e5e7eb; }

.section.team-section {
  padding: 40px 0;
  border-top: 0;
  border-bottom: 0;
}

.section.team-section .team-grid {
  display: grid;
  gap: 24px;                
  justify-content: center;  
}
.section.team-section .team-grid.cols-4 { grid-template-columns: repeat(4, 220px); }
.section.team-section .team-grid.cols-3 { grid-template-columns: repeat(3, 220px); gap: 40px; }

@media (max-width: 1024px) {
  .section.team-section .team-grid.cols-4,
  .section.team-section .team-grid.cols-3 {
    grid-template-columns: repeat(2, 220px);
    gap: 24px; 
  }
}
@media (max-width: 640px) {
  .section.team-section .team-grid.cols-4,
  .section.team-section .team-grid.cols-3 { grid-template-columns: 220px; } 
}

.section.team-section .team-card { width: 220px; text-align: center; }
.section.team-section .team-card__media {
  width: 220px;
  aspect-ratio: 4 / 5;   
  overflow: hidden;     
  margin-bottom: 12px;
}
.section.team-section .team-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;     
  object-position: center;
}

.section.team-section .team-card__name {
  margin: 8px 0 4px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
}
.section.team-section .team-card__role {
  margin: 0;
  color: #000000ff;
  font-size: 14px;
  font-weight: 300;
}


/* ---------------------------------------------------------------------------
   Structural and accessibility defaults.

   Deliberately colourless: these rules decide what is reachable and visible,
   not what anything looks like. Colour, type and spacing come from the
   project's own design system. Do not put a hex value in this block.
   --------------------------------------------------------------------------- */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 20px;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    clip-path: none;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Every interactive target is at least 44px in its smallest dimension. */
.nav-toggle,
.submenu-toggle,
.main-navigation__list a {
    min-height: 44px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.main-navigation__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation__list a {
    display: inline-flex;
    align-items: center;
}

.main-navigation .sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* A sub-menu opens on hover, on keyboard focus, and on its own toggle. Leaving
   focus-within out is how a tab lands on an invisible link. */
.main-navigation .menu-item-has-children > .sub-menu {
    display: none;
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu,
.main-navigation .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.submenu-toggle {
    background: none;
    border: 0;
    cursor: pointer;
}

/* Below the desktop breakpoint the menu is behind the toggle. One breakpoint,
   because the layout above and below it genuinely differs. */
@media (max-width: 63.99rem) {
    #site-navigation {
        display: none;
    }

    #site-navigation.is-open {
        display: block;
    }

    .main-navigation__list {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (min-width: 64rem) {
    .nav-toggle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ===========================================================================
   The theme's own components.

   Everything here reads the colour roles declared in :root and nothing else —
   no hex, no radius, no shadow. A project restyles these from its design
   system in site.css; the class names and the structure are the contract.
   =========================================================================== */

/* ---- The one container (H11) --------------------------------------------
   Every band's content sits in a .wrap: header inner, footer inner, every
   module, the Woo pages. This is the only rule that declares max-width,
   margin-inline and padding-inline for a container. A class that shares an
   element with .wrap sets padding-block, never padding — the shorthand
   `padding: X 0` zeroes the gutter. scripts/audit_theme.py checks both. */
.wrap {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section);
}

/* Self-hosted families rarely ship a 700; a synthesised bold is the browser
   smearing the 500. 500 is the heavy weight of this system. */
strong,
b {
    font-weight: 500;
}

address {
    font-style: normal;
}

/* ---- Buttons --------------------------------------------------------------
   Exactly 52px tall: 22 + 14·2 + 1·2. The inherited line-height gave 53.4 and
   rounded either way, so a button beside a field never lined up. An <input
   type="submit"> does not inherit the font on its own, hence font-family.
   WooCommerce prints <a class="button"> and <button class="button">; the same
   selectors take the same look, so the shop needs no second set. */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button[type="submit"],
.wc-block-components-button,
.wc-block-components-button:not(.is-link) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 14px 32px;
    min-height: 52px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--t), border-color var(--t), color var(--t);
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    border-color: var(--accent-hover);
    color: var(--accent-hover);
}

/* The system's only filled chromatic button. One per screen. The edge stays
   on hover: a boundary must hold 3:1 in every state. The label is restated,
   because Woo's own hover rule used to turn it the hover colour — fill on fill. */
.btn--filled,
.single_add_to_cart_button,
.woocommerce form .button[name="login"],
.woocommerce form .button[name="save_account_details"],
.woocommerce form .button[name="save_address"],
.woocommerce-ResetPassword .button[type="submit"],
.woocommerce #place_order,
.wc-block-components-button:not(.is-link) {
    background: var(--accent);
    color: var(--on-accent);
    border-color: var(--accent-edge, var(--accent));
}

.btn--filled:hover,
.single_add_to_cart_button:hover,
.woocommerce form .button[name="login"]:hover,
.woocommerce form .button[name="save_account_details"]:hover,
.woocommerce form .button[name="save_address"]:hover,
.woocommerce-ResetPassword .button[type="submit"]:hover,
.woocommerce #place_order:hover,
.wc-block-components-button:not(.is-link):hover {
    background: var(--accent-hover);
    border-color: var(--accent-edge, var(--accent-hover));
    color: var(--on-accent);
}

.btn--outline,
.woocommerce form .button[name="register"] {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.btn--outline:hover,
.woocommerce form .button[name="register"]:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Busy: the place-order button while the order goes through (script.js).
   Colourless on purpose; the project decides how a button looks, this only
   says it is working. */
.is-busy {
    pointer-events: none;
    cursor: progress;
}

/* ---- Top bar + header -----------------------------------------------------
   .site-top is topbar + header, one unit. On a product page the unit sticks
   (woocommerce.css); logged in it sits under the fixed admin bar. */
.site-top {
    position: relative;
    z-index: 10;
}

.admin-bar .site-top {
    top: var(--wp-admin--admin-bar--height, 32px);
}

.site-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px var(--gutter);
    background: var(--ink);
    color: var(--on-ink);
    text-align: center;
    font-size: 14px;
}

.site-topbar__text {
    margin: 0;
}

.site-topbar a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: relative;
    background: var(--canvas);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

@media (min-width: 64rem) {
    .site-header__inner {
        min-height: 100px;
    }
}

/* The logo is set by width; the height follows the file's own ratio. */
.site-branding__logo {
    display: block;
    width: 116px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 64rem) {
    .site-branding__logo {
        width: 147px;
    }
}

.site-branding__name {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.main-navigation__list a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t);
}

.main-navigation__list a:hover,
.main-navigation__list a[aria-current="page"] {
    color: var(--accent-hover);
}

/* Utilities always sit right, with or without a nav (the checkout header has
   none). A 22px icon in a 44px target; the negative margin keeps the visual
   spacing of the icon, not the target. */
.site-header__utils {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.site-header__util {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    margin: -11px;
    color: inherit;
    text-decoration: none;
}

.site-header__icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.25;
}

.site-header__count {
    font-size: 12px;
    font-weight: 500;
    min-width: 1.5em;
}

/* ---- Phone menu button: three 1px bars that become an X when open ---------
   The shape changes, not just a colour, so the state is never colour alone.
   44px target. Hidden from the desktop breakpoint — restated here, after the
   base rule, or the inline-flex above would win on order. */
.nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0 -10px 0 0;
    justify-content: center;
    color: inherit;
}

.nav-toggle__bars {
    position: relative;
    display: block;
    width: 22px;
    height: 13px;
}

.nav-toggle__bars span {
    position: absolute;
    left: 0;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform var(--t), opacity var(--t);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 64rem) {
    .nav-toggle {
        display: none;
    }
}

/* Below the desktop breakpoint: wordmark at the gutter, utilities and the
   button on the right, and the open menu a full-width panel under the header
   row — it escapes .wrap's gutter by the same amount and puts it back inside,
   so the panel runs edge to edge while its links stay on the gutter. */
@media (max-width: 63.99rem) {
    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-branding { order: 1; }
    .site-header__utils { order: 2; }
    .nav-toggle { order: 3; }

    #site-navigation.is-open {
        order: 4;
        flex-basis: calc(100% + 2 * var(--gutter));
        margin-inline: calc(-1 * var(--gutter));
        padding: 8px var(--gutter) 24px;
        background: var(--surface);
        color: var(--ink);
        border-top: 1px solid var(--line);
    }

    #site-navigation.is-open .main-navigation__list {
        gap: 0;
    }

    #site-navigation.is-open .main-navigation__list a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0;
        font-size: 18px;
        border-bottom: 1px solid var(--line);
    }

    #site-navigation.is-open .main-navigation__list li:last-child > a {
        border-bottom: 0;
    }
}

/* ---- Footer ---------------------------------------------------------------- */
.site-footer {
    padding-block: 64px 32px;
    border-top: 1px solid var(--line);
}

.site-footer__inner {
    display: grid;
    gap: 40px 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.site-footer__list,
.site-footer__legal-list,
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
}

@media (min-width: 48rem) {
    .site-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-footer__legal-list,
    .site-footer__social {
        flex-direction: row;
        gap: 24px;
    }
}

.site-footer__copyright {
    margin: 0;
    font-size: 14px;
}

/* ---- Plain pages: Impressum, AGB, Datenschutz, Kontakt --------------------
   No builder, so no module sets the rhythm: a heading, then copy at a reading
   measure. The legal pages are long; 70ch is the widest they should run.
   Woo's block pages (cart, checkout, account) lay out their own columns and
   take the whole container instead. */
.plain-page {
    padding-block: var(--section);
}

.plain-page__title {
    margin: 0 0 32px;
}

.plain-page__body {
    max-width: 70ch;
}

.plain-page__body--wide {
    max-width: none;
}

.plain-page__body p,
.plain-page__body ul,
.plain-page__body ol {
    margin: 0 0 20px;
}

/* Underlined links are the prose's; scoped, so the block pages' product names
   and buttons do not inherit them. */
.plain-page__body.mw-prose a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- 404 and search -------------------------------------------------------
   The 404 is a two-column grid: the message, the search and two ways out on
   the left, room for a picture on the right. One filled button, one outline. */
.site-main--404 .wrap,
.site-main--search .wrap {
    padding-block: var(--section);
}

.error-404 {
    display: grid;
    gap: 40px;
}

@media (min-width: 64rem) {
    .error-404 {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        gap: 64px;
        align-items: center;
    }
}

.error-404__text {
    max-width: 44ch;
    margin: 16px 0 32px;
    font-size: 18px;
    line-height: 1.5;
}

.error-404__actions,
.account-dashboard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 0;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    max-width: 560px;
}

.search-form .field-wrap {
    flex: 1 1 240px;
}

.search-form .btn {
    align-self: flex-end;   /* level with the field, under its label */
}

.site-main--search .page-header {
    margin-bottom: 48px;
}

.site-main--search .page-header .search-form {
    margin-top: 24px;
}

.search-none {
    font-size: 18px;
    max-width: 50ch;
}

.search-fallback {
    margin-top: var(--section);
}

.search-fallback__title {
    margin: 0 0 32px;
}
