/* ==============================================
   HAARSTUDIO MIA – style.css
   Statisch · Vanilla CSS · WCAG 2.2 AA
   ============================================== */

/* ---- 1. ROOT / TOKENS ---- */
:root {
  --primary:    #9d4e6e;
  --primary-dk: #7d3a57;
  --primary-lt: #f7e8f0;
  --accent:     #c4956a;
  --accent-lt:  #fdf3e9;
  --dark-bg:    #2a1828;
  --bg:         #ffffff;
  --bg-rose:    #fdf5f8;
  --bg-warm:    #faf8f5;
  --ink:        #2d1a24;
  --ink-mid:    #5c3d4a;
  --ink-muted:  #8a6a74;
  --line:       #e8d0d8;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 2px 12px rgba(45, 26, 36, .10);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.65;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;

  /* Focus */
  --focus-ring: 3px solid var(--primary);
  --focus-offset: 3px;
}

/* ---- 2. RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* ---- 3. FOCUS ---- */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-sm);
}

/* ---- 4. TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--ink-mid);
  max-width: 68ch;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dk);
}

blockquote {
  font-style: italic;
}

/* ---- 5. LAYOUT ---- */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: var(--space-2xl);
  scroll-margin-top: 104px;
}

.section--rose {
  background-color: var(--bg-rose);
}

.section--dark {
  background-color: var(--dark-bg);
}

.section--dark-rose {
  background-color: #3d2035;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-lt);
  padding: 0.3em 0.85em;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.section-label--light {
  color: var(--accent);
  background-color: rgba(196, 149, 106, 0.2);
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.section--dark .section-heading,
.section--dark-rose .section-heading {
  color: #ffffff;
}

.section-intro {
  color: var(--ink-mid);
  font-size: 1.0625rem;
}

/* ---- 6. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--primary-dk);
  border-color: var(--primary-dk);
  color: #ffffff;
}

.btn--ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary-lt);
}

.btn--lg {
  padding: 0.9em 2em;
  font-size: 1.0625rem;
  min-height: 52px;
}

/* ---- Demo-Bar ---- */
.demo-bar {
  background: #1a0a14;
  color: #ffffff;
  font-size: .8125rem;
  padding: .5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.demo-bar a {
  color: var(--primary-lt);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-bar a:hover { color: #ffffff; }

/* ---- 7. HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 700;
  min-height: 44px;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__logo:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-sm);
}

.nav__logo-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.nav__logo-text {
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4em 0.6em;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.nav__link:hover {
  color: #ffffff;
}

.nav__btn {
  white-space: nowrap;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.nav__toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger open state */
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- 8. HERO ---- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-2xl);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background-color: rgba(196, 149, 106, 0.18);
  padding: 0.3em 0.9em;
  border-radius: 100px;
  align-self: flex-start;
}

.hero__heading {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  max-width: 50ch;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-top: var(--space-xs);
  list-style: none;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}

.hero__trust-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

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

.hero__svg-wrap {
  max-width: 340px;
  width: 100%;
  opacity: 0.9;
}

.hero-scissors {
  width: 100%;
  height: auto;
}

/* Schere öffnet und schließt sich – Drehpunkt = Niete bei (180, 240) */
.scissors-blade-1 {
  transform-origin: 170px 235px;
  animation: blade-snip-1 2.6s ease-in-out infinite;
}
.scissors-blade-2 {
  transform-origin: 170px 235px;
  animation: blade-snip-2 2.6s ease-in-out infinite;
}

@keyframes blade-snip-1 {
  0%,  15%  { transform: rotate(0deg);   }
  45%        { transform: rotate(16deg);  }
  55%        { transform: rotate(16deg);  }
  85%, 100%  { transform: rotate(0deg);   }
}
@keyframes blade-snip-2 {
  0%,  15%  { transform: rotate(0deg);   }
  45%        { transform: rotate(-16deg); }
  55%        { transform: rotate(-16deg); }
  85%, 100%  { transform: rotate(0deg);   }
}

@media (prefers-reduced-motion: reduce) {
  .scissors-blade-1,
  .scissors-blade-2 { animation: none; }
}

/* ---- 9. SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
}

.service-card {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(45, 26, 36, .14);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-lt);
  color: var(--primary);
  flex-shrink: 0;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card__desc {
  color: var(--ink-mid);
  font-size: 0.9375rem;
  flex: 1;
  max-width: none;
}

.service-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  max-width: none;
}

.service-card__link {
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  padding: 0.4em 0;
  border-radius: var(--radius-sm);
}

.service-card__link::after {
  content: "→";
  transition: transform 0.15s;
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

.service-card__link:hover {
  color: var(--primary-dk);
}

/* ---- 10. ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about-svg {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background-color: var(--bg-warm);
  box-shadow: var(--shadow);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__text {
  color: var(--ink-mid);
  font-size: 1.0rem;
  max-width: 55ch;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  list-style: none;
}

.about-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  color: var(--ink-mid);
  font-size: 0.9375rem;
}

.about-list__item svg {
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ---- 11. ADVANTAGES ---- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
}

.advantage-card {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background-color 0.18s;
}

.advantage-card:hover {
  background-color: rgba(255, 255, 255, 0.11);
}

.advantage-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background-color: rgba(196, 149, 106, 0.18);
  color: var(--accent);
  flex-shrink: 0;
}

.advantage-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.advantage-card__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  max-width: none;
}

/* ---- 12. REVIEWS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
}

.review-card {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.review-card__stars {
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 2px;
}

.review-card__quote {
  color: var(--ink-mid);
  font-size: 0.9375rem;
  font-style: italic;
  flex: 1;
  max-width: none;
}

.review-card__footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}

.review-card__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9375rem;
  max-width: none;
}

.review-card__date {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  max-width: none;
}

/* ---- 13. FAQ ---- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1em 0.25em;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-sm);
  min-height: 52px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

.faq-btn:hover {
  color: var(--primary);
}

.faq-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.faq-btn__icon {
  flex-shrink: 0;
  transition: transform 0.22s ease;
  color: var(--primary);
}

.faq-btn[aria-expanded="true"] .faq-btn__icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 1.1em;
  padding-inline: 0.25em;
}

.faq-answer p {
  color: var(--ink-mid);
  font-size: 0.9375rem;
  max-width: 65ch;
}

.faq-answer[hidden] {
  display: none;
}

/* ---- 14. CTA SECTION ---- */
.cta-section {
  padding-block: var(--space-2xl);
}

.cta-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.cta-section__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #ffffff;
  font-weight: 800;
}

.cta-section__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.0625rem;
  max-width: none;
}

.cta-section__tel {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9375rem;
  max-width: none;
  text-align: center;
}

@media (max-width: 480px) {
  .cta-section__tel-sep { display: none; }
  .cta-section__tel-hours { display: block; margin-top: 0.3em; }
}

.cta-section__tel-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.cta-section__tel-link:hover {
  text-decoration: underline;
  color: var(--accent);
}

/* ---- 15. FOOTER ---- */
.footer {
  background-color: var(--dark-bg);
  padding-block: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__brand-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-top: .75rem;
}

.footer__contact-item {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .5rem;
  font-style: normal;
}

.footer__contact-item a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}

.footer__contact-item a:hover { color: #ffffff; }

.footer__salon-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  max-width: none;
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.footer__address p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  max-width: none;
}

.footer__link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link--accent {
  color: var(--accent);
}

.footer__hours {
  margin-top: var(--space-md);
}

.footer__hours p,
.footer__hours-title {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  max-width: none;
}

.footer__hours-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.3em;
}

.footer__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  list-style: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

.footer__demo-note {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .25rem .875rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8125rem;
  max-width: none;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal a {
  color: rgba(255,255,255,.4);
  font-size: .8125rem;
  text-decoration: none;
}

.footer__legal a:hover { color: #fff; }

/* ── Demo-Modal ── */
.mp360-modal-overlay { position: fixed; inset: 0; background: rgba(20,24,30,.58); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100000; }
.mp360-modal-overlay.is-open { display: flex; }
.mp360-modal { width: min(430px,100%); background: #f6f5f2; border: 1px solid #dddbd5; border-radius: 14px; padding: 30px; box-shadow: 0 24px 80px rgba(20,24,30,.28); position: relative; }
.mp360-modal h3 { margin: 0 0 10px; font-size: 1.2rem; color: #1b2333; }
.mp360-modal p { margin: 0 0 22px; font-size: .94rem; color: #64748b; line-height: 1.6; }
.mp360-modal-actions .mp360-btn { display: inline-block; background: #2e7d5e; color: #fff; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.mp360-modal-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 1.55rem; cursor: pointer; color: #64748b; line-height: 1; }

/* ---- 16. DEMO-POPUP ---- */
.demo-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(42, 24, 40, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.demo-popup[hidden] {
  display: none;
}

.demo-popup__card {
  background-color: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.demo-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-muted);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background-color 0.15s;
}

.demo-popup__close:hover {
  color: var(--ink);
  background-color: var(--bg-rose);
}

.demo-popup__close:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.demo-popup__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-lt);
  padding: 0.3em 0.85em;
  border-radius: 100px;
  max-width: none;
}

.demo-popup__title {
  font-size: 1.5rem;
  color: var(--ink);
}

.demo-popup__text {
  color: var(--ink-mid);
  font-size: 0.9375rem;
  text-align: center;
  max-width: none;
}

.demo-popup__cta {
  margin-top: var(--space-xs);
}

/* ---- 17. RESPONSIVE ---- */
@media (max-width: 768px) {
  /* Nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md) 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    gap: 0.25rem;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    padding: 0.75em 0.75em;
    border-radius: var(--radius-sm);
  }

  .nav__link:hover {
    background-color: rgba(255, 255, 255, 0.07);
  }

  .nav__btn {
    margin-top: 0.25rem;
    text-align: center;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-block: 3.5rem 3rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__visual {
    order: -1;
  }

  .hero__svg-wrap {
    max-width: 220px;
  }

  .hero__heading {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about__visual {
    order: -1;
  }

  .about-svg {
    max-width: 260px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__grid > :first-child,
  .footer__grid > address {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Section spacing */
  .section {
    padding-block: 3.5rem;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__heading {
    font-size: 2.25rem;
  }
}

/* ---- 18. PRINT ---- */
@media print {
  .site-header,
  .nav__toggle,
  .demo-popup,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
