/* Dr. Volos — penza-cosmetology theme base */

:root {
  --color-primary: #D4145A;
  --color-primary-hover: #B8104C;
  --color-on-primary: #FFFFFF;
  --color-secondary: #1B3A4B;
  --color-secondary-hover: #163242;
  --color-accent-teal: #2A7F8F;
  --color-accent-coral: #FF6B4A;
  --color-accent-trust: #1B3A4B;
  --color-accent-rose: #F5E6EC;
  --color-background: #F7F4F1;
  --color-on-background: #1A1A1A;
  --color-surface-lowest: #FFFFFF;
  --color-surface-low: #F0EBE6;
  --color-surface-container: #E8E2DC;
  --color-outline: #C4B8AE;
  --color-outline-variant: #E5DDD6;
  --color-error: #C62828;
  --color-footer-bg: #2B2B2B;
  --color-footer-text: #F7F4F1;
  --color-cookie-bg: #2B2B2B;
  --color-cookie-text: #F7F4F1;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: Manrope, system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-card: 0 8px 32px rgba(27, 58, 75, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(27, 58, 75, 0.12);
  --shadow-header: 0 2px 16px rgba(27, 58, 75, 0.06);
  --shadow-cta: 0 4px 20px rgba(212, 20, 90, 0.25);
  --space-xs: 4px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --section-y: 80px;
  --section-y-mobile: 48px;
  --container-max: 1200px;
  --gutter: 24px;
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
  --z-header: 100;
  --z-floating-wa: 90;
  --z-fortune-gift-tab: 95;
  --z-cookie: 110;
}

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

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;
  }
  #hero-blob-canvas,
  [data-motion="hero-blob-canvas"] { display: none !important; }
  [data-motion="hero-blob-fallback"] { display: block !important; opacity: 1 !important; }
}

body {
  margin: 0;
  padding-top: var(--header-offset, var(--header-height));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-on-background);
  background: var(--color-background);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration-thickness: 1px; }
a:hover { color: var(--color-primary-hover); }

.container {
  width: min(100% - var(--gutter) * 2, var(--container-max));
  margin-inline: auto;
}

.section-padding { padding-block: var(--section-y-mobile); }
@media (min-width: 1024px) {
  .section-padding { padding-block: var(--section-y); }
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  margin: 0 0 var(--space-md);
}

.headline-sm {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-secondary);
}

.prose h2, .prose h3 { font-family: var(--font-display); color: var(--color-secondary); }
.prose h2 { font-size: 1.75rem; margin-top: var(--space-lg); }
.prose ul { padding-left: 1.25rem; }
.prose code { background: var(--color-surface-low); padding: 0.1em 0.35em; border-radius: var(--radius-sm); }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed; top: 8px; left: 8px; z-index: 9999;
  width: auto; height: auto; padding: 12px 16px; margin: 0;
  clip: auto; background: var(--color-surface-lowest); color: var(--color-secondary);
  box-shadow: var(--shadow-card); border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px;
  border-radius: var(--radius-full); border: 2px solid transparent;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background var(--duration-fast) var(--easing),
    color var(--duration-fast) var(--easing), transform var(--duration-fast) var(--easing),
    box-shadow var(--duration-fast) var(--easing);
}
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.btn--primary {
  background: var(--color-primary); color: var(--color-on-primary);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); transform: translateY(-1px); }
.btn--secondary {
  background: transparent; color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn--secondary:hover { background: var(--color-secondary); color: var(--color-on-primary); }

/* Cards */
.card {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card__body { padding: var(--space-md); }
.card__title a { color: inherit; text-decoration: none; }
.card__excerpt { color: var(--color-on-background); opacity: 0.85; margin: var(--space-sm) 0; }
.card__link { font-weight: 600; text-decoration: none; }

.card--service { padding: var(--space-md); }
.card--blog .card__media,
.card--blog a.card__media {
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 4px);
  background: var(--color-surface-low);
  aspect-ratio: 16 / 9;
  display: block;
}
.card--blog .card__media a {
  display: block;
  height: 100%;
}
.card--blog .card__media img,
.card--blog a.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Header — fixed (reliable above blog scroll / overflow ancestors) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: color-mix(in srgb, var(--color-surface-lowest) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-header);
  border-bottom: 1px solid color-mix(in srgb, var(--color-outline-variant) 65%, transparent);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-card);
  background: color-mix(in srgb, var(--color-surface-lowest) 96%, transparent);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-md);
  min-height: var(--header-height); padding-block: var(--space-sm);
}
.site-header__logo,
.site-header__logo-text { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; max-width: min(220px, 42vw); }
.site-header__logo-img { width: auto; height: 34px; max-width: 100%; object-fit: contain; object-position: left center; }
.site-header__logo-name {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--color-secondary); line-height: 1.1;
}
.site-header__logo-tagline {
  font-size: 0.6875rem; line-height: 1.2; letter-spacing: 0.01em;
  color: var(--color-accent-coral); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
@media (min-width: 768px) {
  .site-header__logo-img { height: 38px; }
  .site-header__logo-tagline { font-size: 0.75rem; }
}
.site-header__nav { flex: 1; }
.primary-menu__list {
  display: none; list-style: none; margin: 0; padding: 0; gap: var(--space-sm);
}
.primary-menu__link {
  color: var(--color-secondary); text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius-full);
}
.primary-menu__link:hover, .primary-menu__item.current-menu-item .primary-menu__link {
  color: var(--color-primary);
}
.site-header__actions { display: flex; align-items: center; gap: var(--space-sm); }
.site-header__phone {
  display: none; color: var(--color-secondary); font-weight: 700; text-decoration: none;
}
.site-header__burger {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px; border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-sm); background: var(--color-surface-lowest); cursor: pointer;
  position: relative; z-index: calc(var(--z-header) + 5);
}
.site-header__burger::before,
.site-header__burger::after,
.site-header__burger-label {
  display: block; width: 20px; height: 2px; background: var(--color-secondary);
  border-radius: 2px; transition: transform var(--duration-fast) var(--easing), opacity var(--duration-fast) var(--easing);
}
.site-header__burger-label { position: relative; font-size: 0; color: transparent; }
.site-header__burger-label::before,
.site-header__burger-label::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--color-secondary); border-radius: 2px;
}
.site-header__burger-label::before { top: -6px; }
.site-header__burger-label::after { top: 6px; }
.site-header__burger::before,
.site-header__burger::after { content: ""; position: absolute; opacity: 0; }
.site-header__burger.is-active .site-header__burger-label { background: transparent; }
.site-header__burger.is-active .site-header__burger-label::before { top: 0; transform: rotate(45deg); }
.site-header__burger.is-active .site-header__burger-label::after { top: 0; transform: rotate(-45deg); }
.primary-menu__panel {
  position: fixed; inset: 0; z-index: calc(var(--z-header) + 3);
  background: var(--color-surface-lowest); padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
  overflow-y: auto; transform: translateX(100%); transition: transform var(--duration-base) var(--easing);
  visibility: hidden; pointer-events: none;
}
.primary-menu__panel.is-open {
  transform: translateX(0); visibility: visible; pointer-events: auto;
}
.primary-menu__panel.is-open .primary-menu__list {
  display: flex; flex-direction: column; gap: 0;
}
body.is-mobile-nav-open { overflow: hidden; }
@media (min-width: 1024px) {
  .site-header__burger { display: none; }
  .primary-menu__list { display: flex; flex-wrap: wrap; align-items: center; }
  .primary-menu__panel {
    position: static; inset: auto; transform: none; visibility: visible; pointer-events: auto;
    background: transparent; padding: 0; overflow: visible;
  }
  .site-header__phone { display: inline; }
}

/* Mega menu */
.primary-menu__item--has-mega,
.primary-menu__item--has-dropdown { position: relative; }
.primary-menu__trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--color-secondary);
  padding: 8px 12px; border-radius: var(--radius-full);
}
.primary-menu__trigger:hover,
.primary-menu__trigger[aria-expanded="true"] { color: var(--color-primary); }
.primary-menu__caret { font-size: 0.65em; opacity: 0.75; }
.nav-mega {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 100%; z-index: calc(var(--z-header) + 2);
  width: min(1080px, calc(100vw - 48px));
  padding-top: 12px;
}
.nav-mega::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 16px;
}
.nav-mega__inner {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: var(--space-lg);
}
.nav-mega__grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .nav-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .nav-mega__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
}
.nav-mega__col-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  color: var(--color-secondary); text-decoration: none; margin-bottom: var(--space-sm);
}
.nav-mega__col-title:hover { color: var(--color-primary); }
.nav-mega__links { list-style: none; margin: 0; padding: 0; }
.nav-mega__link {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px;
  padding: 6px 0; text-decoration: none; color: var(--color-on-background);
  font-size: 0.9375rem; border-bottom: 1px solid transparent;
}
.nav-mega__link:hover { color: var(--color-primary); }
.nav-mega__link-price { font-size: 0.8125rem; color: var(--color-outline); white-space: nowrap; }
.nav-mega__promo {
  background: var(--color-accent-rose); border-radius: var(--radius-md);
  padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm);
  justify-content: center;
}
.nav-mega__promo-line { margin: 0; font-weight: 600; color: var(--color-secondary); font-size: 0.9375rem; }
.nav-mega__promo-cta { align-self: flex-start; margin-top: var(--space-xs); }
.nav-dropdown {
  position: absolute; left: 0; top: 100%; z-index: calc(var(--z-header) + 2);
  min-width: 280px; max-width: 360px;
  padding-top: 12px;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 16px;
}
.nav-dropdown__inner {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: var(--space-md);
}
.nav-dropdown__intro { margin: 0 0 var(--space-sm); font-size: 0.875rem; opacity: 0.85; }
.nav-dropdown__list { list-style: none; margin: 0; padding: 0; }
.nav-dropdown__link {
  display: block; padding: 8px 0; text-decoration: none; color: var(--color-secondary);
  font-size: 0.9375rem; border-bottom: 1px solid var(--color-outline-variant);
}
.nav-dropdown__link:hover { color: var(--color-primary); }
.nav-dropdown__list li:last-child .nav-dropdown__link { border-bottom: none; }
@media (min-width: 1024px) {
  .primary-menu__item--has-mega.is-open .nav-mega,
  .primary-menu__item--has-dropdown.is-open .nav-dropdown { display: block !important; }
  .primary-menu__item--has-mega.is-open .nav-mega[hidden],
  .primary-menu__item--has-dropdown.is-open .nav-dropdown[hidden] { display: block !important; }
}
@media (max-width: 1023px) {
  .primary-menu__item { width: 100%; border-bottom: 1px solid var(--color-outline-variant); }
  .primary-menu__item:last-child { border-bottom: none; }
  .primary-menu__link { display: block; width: 100%; padding: 14px 4px; }
  .nav-mega, .nav-dropdown {
    position: static; transform: none; width: 100%; max-width: none;
    box-shadow: none; border: none; border-radius: var(--radius-md);
    background: transparent; margin: 0 0 var(--space-sm); padding-top: 0;
  }
  .nav-mega::before, .nav-dropdown::before { display: none; }
  .nav-dropdown__inner {
    background: var(--color-surface-low);
    border: none; border-radius: var(--radius-md);
    box-shadow: none; padding: var(--space-sm) var(--space-md);
  }
  .nav-mega__inner { padding: var(--space-sm) var(--space-md); box-shadow: none; border: none; }
  .nav-mega__grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .primary-menu__trigger { width: 100%; justify-content: space-between; text-align: left; padding: 14px 4px; }
  .primary-menu__item--has-mega .nav-mega[hidden],
  .primary-menu__item--has-dropdown .nav-dropdown[hidden] { display: none !important; }
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg); color: var(--color-footer-text);
  padding-block: var(--space-xl) var(--space-lg);
}
.site-footer a { color: var(--color-footer-text); opacity: 0.9; }
.site-footer a:hover { opacity: 1; color: var(--color-primary); }
.site-footer__grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-footer-text);
  margin: 0 0 var(--space-md);
  min-height: 1.75rem;
  line-height: 1.3;
}
.site-footer__connect-actions { margin: var(--space-sm) 0 0; font-size: 0.9375rem; }
.footer-menu__list { list-style: none; margin: 0; padding: 0; }
.footer-menu__list li { margin-bottom: 10px; }
.footer-menu__list li:last-child { margin-bottom: 0; }
.site-footer__address { font-style: normal; line-height: 1.65; margin: 0; }
.site-footer__legal { font-size: 0.875rem; opacity: 0.8; margin: var(--space-sm) 0 0; }
.site-footer__bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.15); }
.site-footer__copy { margin: 0; font-size: 0.875rem; opacity: 0.85; }
.site-footer__contact-strip {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  align-items: stretch;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) {
  .site-footer__contact-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row;
    column-gap: var(--space-xl);
  }
}
@media (min-width: 1440px) {
  .site-footer__contact-strip {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: stretch;
  }
  .site-footer__contact-map,
  .site-footer__contact-iframe { min-height: 400px; }
}
.site-footer__contact-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
  min-width: 0;
}
.site-footer__contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-footer-text);
  margin: 0;
}
.site-footer__contact-address {
  font-style: normal;
  line-height: 1.65;
  margin: 0;
  opacity: 0.92;
}
.site-footer__contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.site-footer__contact-strip .btn--on-dark {
  border-color: rgba(247, 244, 241, 0.65);
  color: var(--color-footer-text);
}
.site-footer__contact-strip .btn--on-dark:hover {
  background: rgba(247, 244, 241, 0.12);
  color: var(--color-footer-text);
}
.site-footer__contact-map {
  min-height: 320px;
  display: flex;
  align-self: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.site-footer__contact-iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
@media (min-width: 1024px) {
  .site-footer__contact-map,
  .site-footer__contact-iframe { min-height: 360px; }
}

/* Forms */
.lead-form__grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .lead-form__grid { grid-template-columns: repeat(2, 1fr); }
}
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea, .search-form__input {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--color-outline-variant); border-radius: var(--radius-md);
  font: inherit; background: var(--color-surface-lowest);
}
.form-field input:focus, .form-field textarea:focus, .search-form__input:focus {
  outline: 2px solid var(--color-primary); outline-offset: 2px;
}
.form-field--consent {
  display: flex; gap: 12px; align-items: flex-start; margin-top: var(--space-sm);
}
.form-field--consent .lead-form__consent-label { font-weight: 400; font-size: 0.8125rem; line-height: 1.45; margin: 0; cursor: pointer; }
.lead-form__consent-input {
  flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0;
  padding: 0; border: 2px solid var(--color-outline); border-radius: 4px;
  appearance: none; -webkit-appearance: none; background: var(--color-surface-lowest);
  cursor: pointer; position: relative;
}
.lead-form__consent-input:checked {
  border-color: var(--color-primary); background: var(--color-primary);
}
.lead-form__consent-input:checked::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.lead-form__consent-input:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.lead-form__submit { width: 100%; margin-top: var(--space-sm); }
.lead-form__submit:disabled { opacity: 0.45; cursor: not-allowed; }
.lead-form__fine-print { margin: var(--space-sm) 0 0; font-size: 0.75rem; line-height: 1.4; opacity: 0.7; }
.lead-form__honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.lead-form__status { margin-top: var(--space-sm); font-weight: 600; }
.lead-form__status.is-error { color: var(--color-error); }
.lead-form__status.is-success { color: var(--color-primary); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-cookie);
  background: var(--color-cookie-bg); color: var(--color-cookie-text);
  padding: var(--space-md) 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.cookie-banner__text { margin: 0; flex: 1 1 280px; font-size: 0.875rem; }
.cookie-banner a { color: var(--color-primary); }
.cookie-banner__accept { flex-shrink: 0; }

/* Floating WhatsApp */
.floating-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-floating-wa);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-cta); text-decoration: none;
  animation: wa-pulse 3s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-wa { animation: none; }
}
body:has(.cookie-banner:not([hidden])) .floating-wa { bottom: 100px; }

/* Blog */
.blog-slot__grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .blog-slot__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-slot__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Legal pages */
.legal-page__header { margin-bottom: var(--space-lg); }
.legal-page__updated { color: var(--color-outline); font-size: 0.875rem; }

/* SVC component shells (Page Builder) */
.svc-comparison-methods,
.svc-promo-urgency,
.svc-certificates-strip,
.svc-before-after,
.svc-expert-byline,
.svc-installment-note,
.svc-laser-type-info,
.svc-male-teaser-row {
  padding-block: var(--section-y-mobile);
}
@media (min-width: 1024px) {
  .svc-comparison-methods,
  .svc-promo-urgency,
  .svc-certificates-strip,
  .svc-before-after,
  .svc-expert-byline,
  .svc-installment-note,
  .svc-laser-type-info,
  .svc-male-teaser-row {
    padding-block: var(--section-y);
  }
}

.pricing-tabs__nav {
  display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto;
  padding-bottom: var(--space-sm); margin-bottom: var(--space-md);
}
.pricing-tabs__tab {
  flex: 0 0 auto; padding: 10px 20px; border-radius: var(--radius-full);
  border: none; background: var(--color-surface-low); color: var(--color-secondary);
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pricing-tabs__tab.is-active { background: var(--color-primary); color: var(--color-on-primary); }

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

/* Motion reveal hooks (CSS fallback before GSAP) */
.motion-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js-motion-ready .motion-reveal[data-motion-stagger]:not(.hero__content) > * {
    opacity: 0; transform: translateY(24px);
  }
}
.section-hero--home .hero__content,
.section-hero--home .hero__content > * {
  opacity: 1 !important;
  transform: none !important;
}
.hero__content { position: relative; z-index: 3; }
.hero__bullets--trust { list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.hero__bullets--trust li {
  position: relative; padding-left: 1.4rem; margin-bottom: 8px;
}
.hero__bullets--trust li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--color-primary);
}

/* Page Builder — sections */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-secondary);
  margin: 0 0 var(--space-md);
}
.section-title--light { color: var(--color-on-primary); }
.section-lead { margin: 0 0 var(--space-lg); max-width: 72ch; opacity: 0.9; }
.section-band { padding-block: var(--space-lg); }
.section-band--rose { background: var(--color-accent-rose); }
.section-band--surface { background: var(--color-surface-low); }
.section-band--teal { background: color-mix(in srgb, var(--color-accent-teal) 12%, white); }
.section-band--cream {
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-accent-rose) 100%);
  color: var(--color-secondary);
}
.section-band--charcoal {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}
.section-band--secondary { background: var(--color-secondary); color: var(--color-on-primary); }
.section-cta-row { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

/* Hero */
.section-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y-mobile);
  background: linear-gradient(135deg, var(--color-accent-rose) 0%, var(--color-background) 55%, var(--color-surface-lowest) 100%);
}
@media (min-width: 1024px) { .section-hero { padding-block: var(--section-y); } }
.section-hero--inner { background: linear-gradient(180deg, var(--color-accent-rose), var(--color-background)); }
.hero__blob {
  position: absolute; inset: -20% auto auto -10%; width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(212,20,90,0.15), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
#hero-blob-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.35; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-lg); align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero__inner--stack { grid-template-columns: 1fr 1fr; }
}
.hero__eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 var(--space-sm); }
.hero__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1; color: var(--color-secondary); margin: 0 0 var(--space-sm);
}
.hero__price-pill {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin: 0 0 var(--space-md); padding: 10px 18px;
  background: var(--color-surface-lowest); border: 2px solid var(--color-primary);
  border-radius: var(--radius-full); box-shadow: var(--shadow-cta);
  font-weight: 700; color: var(--color-primary);
}
.hero__price-pill-label { font-size: 0.875rem; font-weight: 600; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.hero__price-pill-value { font-size: 1.375rem; font-family: var(--font-display); }
.hero__subtitle, .hero__geo-answer, .hero__trust-line { margin: 0 0 var(--space-md); max-width: 60ch; }
.hero__bullets { margin: 0 0 var(--space-md); padding-left: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__cutout, .hero__image { margin-inline: auto; filter: drop-shadow(0 24px 48px rgba(27,58,75,0.12)); }

/* Trust / services */
.trust__grid, .cosmetology-services__grid, .team__grid, .services-list__grid {
  display: grid; gap: var(--space-md);
}
@media (min-width: 768px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cosmetology-services__grid, .team__grid { grid-template-columns: repeat(3, 1fr); }
}
.card--trust, .card--team, .card--service-detail { padding: var(--space-md); }
.card--service-visual { display: flex; flex-direction: column; height: 100%; }
.card--service-visual .card__body { flex: 1; display: flex; flex-direction: column; }
.card--service-visual .card__link { margin-top: auto; }
.card--team { display: flex; flex-direction: column; height: 100%; }
.card--team .card__body { flex: 1; }
.cosmetology-services__grid, .team__grid { align-items: stretch; }
.card__image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); margin-bottom: var(--space-sm); }
.card__image--cutout { aspect-ratio: 3/4; object-fit: contain; background: transparent; }
.card__text, .card__price { margin: var(--space-sm) 0; }
.card__price { font-weight: 700; color: var(--color-primary); }
.mini-procedures { margin-top: var(--space-xl); }
.mini-procedures__title { margin: 0 0 var(--space-md); }
.mini-procedures__grid {
  display: grid; gap: var(--space-sm);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 1fr; align-items: stretch;
}
.mini-procedures__item {
  display: flex; flex-direction: column; gap: 4px; padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-lowest); border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-md); text-decoration: none; color: inherit;
}
.mini-procedures__item:hover { border-color: var(--color-primary); }
.mini-procedures__name { font-weight: 700; }
.mini-procedures__price { color: var(--color-primary); }
.mini-procedures__sub { font-size: 0.875rem; opacity: 0.8; }
.svc-unique-slot { padding-block: var(--space-md); background: color-mix(in srgb, var(--color-accent-rose) 60%, white); border-left: 4px solid var(--color-primary); border-radius: var(--radius-sm); padding-inline: var(--space-md); }
.svc-unique-slot p { margin: 0; max-width: 72ch; }

/* Tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table, .pricing-table {
  width: 100%; border-collapse: collapse; background: var(--color-surface-lowest);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
}
.comparison-table th, .comparison-table td,
.pricing-table th, .pricing-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--color-outline-variant); text-align: left; vertical-align: top;
}
.comparison-table thead th, .pricing-table thead th { background: var(--color-secondary); color: var(--color-on-primary); }
.pricing-tab-panel[hidden] { display: none !important; }

/* Equipment / comfort / before-after */
.equipment__layout, .comfort__layout, .svc-before-after__inner, .consultation-visual__layout {
  display: grid; gap: var(--space-lg); align-items: center;
}
@media (min-width: 1024px) {
  .equipment__layout, .comfort__layout, .svc-before-after__inner, .consultation-visual__layout {
    grid-template-columns: 1fr 1fr;
  }
}
.equipment__specs, .comfort__list, .benefits-list { padding-left: 1.2rem; }
.equipment__cutout { filter: drop-shadow(0 16px 40px rgba(27,58,75,0.1)); }
.svc-before-after__disclaimer { font-size: 0.875rem; margin-top: var(--space-sm); }
.svc-before-after__list { margin: var(--space-md) 0; padding-left: 1.2rem; line-height: 1.65; font-size: 1rem; }
.svc-before-after__actions { margin-top: var(--space-md); }
.svc-before-after__gallery {
  display: grid; gap: var(--space-md);
}
@media (min-width: 768px) {
  .svc-before-after__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .svc-before-after__gallery { grid-template-columns: repeat(3, 1fr); }
}
.svc-before-after__pair {
  margin: 0; background: var(--color-surface-lowest);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-card);
}
.svc-before-after__labels {
  display: flex; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm) 0;
}
.svc-before-after__label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--radius-sm);
}
.svc-before-after__label--before { background: color-mix(in srgb, var(--color-secondary) 10%, white); color: var(--color-secondary); }
.svc-before-after__label--after { background: color-mix(in srgb, var(--color-primary) 12%, white); color: var(--color-primary); }
.svc-before-after__img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
}
.svc-before-after__caption {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  font-size: 0.9375rem; line-height: 1.5;
}
.svc-before-after__caption strong { display: block; margin-bottom: 4px; color: var(--color-secondary); }
.svc-before-after__copy .section-title,
.svc-before-after__copy p,
.svc-before-after__copy li { font-size: clamp(1rem, 0.35vw + 0.95rem, 1.0625rem); }
.comfort__image { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* Procedure steps */
.procedure-group__title { font-family: var(--font-display); color: var(--color-secondary); margin: var(--space-lg) 0 var(--space-sm); }
.procedure-steps {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm);
  counter-reset: step;
}
@media (min-width: 768px) { .procedure-steps { grid-template-columns: repeat(2, 1fr); } }
.procedure-steps__item {
  display: grid; gap: 6px; padding: var(--space-md);
  background: var(--color-surface-lowest); border-radius: var(--radius-md);
  border: 1px solid var(--color-outline-variant);
}
.procedure-steps__item strong { color: var(--color-secondary); }

/* FAQ */
.faq__item { border-bottom: 1px solid var(--color-outline-variant); }
.faq__question {
  width: 100%; text-align: left; padding: var(--space-md) 0;
  background: none; border: none; font: inherit; font-weight: 700; color: var(--color-secondary); cursor: pointer;
}
.faq__answer { padding-bottom: var(--space-md); }
.faq__item:not(.is-open) .faq__answer[hidden] { display: none; }

/* Map CTA */
.map-cta__nap { font-style: normal; line-height: 1.7; margin-bottom: var(--space-md); }
.map-cta__nap a { color: var(--color-accent-rose); }
.map-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn--on-dark { border-color: var(--color-on-primary); color: var(--color-on-primary); }
.btn--on-dark:hover { background: var(--color-on-primary); color: var(--color-secondary); }
.map-cta__form {
  background: rgba(255,255,255,0.06); padding: var(--space-md); border-radius: var(--radius-lg);
}
.map-cta__form-title { margin: 0 0 var(--space-md); color: var(--color-on-primary); }

/* Blog */
.card__meta { font-size: 0.875rem; opacity: 0.7; margin: 0 0 var(--space-xs); }
.blog-archive__header { margin-bottom: var(--space-xl); max-width: 72ch; }
.blog-archive__sub { opacity: 0.85; }

/* Blog single — centered canvas + side decor */
:root {
  --blog-article-max: 58rem;
  --blog-decor-cream: #F5F0EB;
  --blog-decor-accent: #D4145A;
  --article-pad: clamp(16px, 4vw, 24px);
}

.site-main--single {
  background: var(--blog-decor-cream);
}

.blog-article__stage {
  position: relative;
  isolation: isolate;
  background-color: var(--blog-decor-cream);
  background-image:
    radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--blog-decor-accent) 12%, transparent) 0%, transparent 42%),
    radial-gradient(circle at 82% 92%, color-mix(in srgb, var(--blog-decor-accent) 10%, transparent) 0%, transparent 40%),
    repeating-radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--blog-decor-accent) 8%, transparent) 0 1px, transparent 1px 24px);
}

.blog-article__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blog-article__blob {
  position: absolute;
  width: clamp(220px, 22vw, 320px);
  height: clamp(220px, 22vw, 320px);
  border-radius: 50%;
  background: var(--blog-decor-accent);
  filter: blur(80px);
  opacity: 0.08;
}

.blog-article__blob--tl { top: -80px; inset-inline-start: -60px; }
.blog-article__blob--br { bottom: -100px; inset-inline-end: -40px; }

.blog-article__canvas {
  position: relative;
  z-index: 1;
  width: min(100% - var(--article-pad) * 2, var(--blog-article-max));
  margin-inline: auto;
  padding-inline: var(--article-pad);
}

.blog-article__decor {
  position: absolute;
  inset-block: 0;
  width: max(0px, calc((100% - min(var(--blog-article-max), 100% - var(--article-pad) * 2)) / 2));
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.blog-article__decor--left { inset-inline-start: 0; }
.blog-article__decor--right { inset-inline-end: 0; }

.blog-article__icon {
  position: absolute;
  width: clamp(72px, 6vw, 100px);
  height: auto;
  color: var(--blog-decor-accent);
  opacity: 0.22;
}

@media (min-width: 1024px) {
  .blog-article__icon {
    width: clamp(120px, 9vw, 180px);
  }
}

.blog-article__decor--left .blog-article__icon--1 { top: 8%; inset-inline-start: 28%; --blog-decor-rot: -8deg; transform: rotate(-8deg); opacity: 0.24; }
.blog-article__decor--left .blog-article__icon--2 { top: 32%; inset-inline-start: 12%; --blog-decor-rot: 6deg; transform: rotate(6deg); opacity: 0.2; }
.blog-article__decor--left .blog-article__icon--3 { top: 58%; inset-inline-start: 34%; --blog-decor-rot: -4deg; transform: rotate(-4deg); opacity: 0.22; }
.blog-article__decor--left .blog-article__icon--4 { top: 82%; inset-inline-start: 18%; --blog-decor-rot: 10deg; transform: rotate(10deg); opacity: 0.18; }

.blog-article__decor--right .blog-article__icon--1 { top: 12%; inset-inline-end: 22%; --blog-decor-rot: 5deg; transform: rotate(5deg); opacity: 0.22; }
.blog-article__decor--right .blog-article__icon--2 { top: 38%; inset-inline-end: 10%; --blog-decor-rot: -6deg; transform: rotate(-6deg); opacity: 0.26; }
.blog-article__decor--right .blog-article__icon--3 { top: 64%; inset-inline-end: 30%; --blog-decor-rot: 3deg; transform: rotate(3deg); opacity: 0.2; }
.blog-article__decor--right .blog-article__icon--4 { top: 86%; inset-inline-end: 14%; --blog-decor-rot: -9deg; transform: rotate(-9deg); opacity: 0.18; }

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .blog-article__decor--left .blog-article__icon--1,
  .blog-article__decor--right .blog-article__icon--2 {
    animation: blog-decor-float 14s ease-in-out infinite;
  }
  .blog-article__decor--left .blog-article__icon--3,
  .blog-article__decor--right .blog-article__icon--1 {
    animation: blog-decor-float 16s ease-in-out infinite reverse;
    animation-delay: -4s;
  }
  .blog-article__decor--left .blog-article__icon--2,
  .blog-article__decor--right .blog-article__icon--4 {
    animation: blog-decor-float 18s ease-in-out infinite;
    animation-delay: -7s;
  }
  .blog-article__blob--tl { animation: blog-blob-float 22s ease-in-out infinite; }
  .blog-article__blob--br { animation: blog-blob-float 26s ease-in-out infinite reverse; animation-delay: -6s; }
}

@keyframes blog-decor-float {
  0%, 100% { transform: translateY(0) rotate(var(--blog-decor-rot, 0deg)); }
  50% { transform: translateY(14px) rotate(var(--blog-decor-rot, 0deg)); }
}

@keyframes blog-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -10px) scale(1.04); }
}

@media (max-width: 1023px) {
  .blog-article__decor { display: none; }
  .blog-article__blob { opacity: 0.06; }
}

.blog-article__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  margin: 0 0 var(--space-md);
}

.blog-article__meta { color: var(--color-outline); margin-bottom: var(--space-md); font-size: 0.9375rem; }
.blog-article__cover { margin-bottom: var(--space-lg); border-radius: var(--radius-lg); overflow: hidden; }
.blog-article__cover img { width: 100%; height: auto; display: block; }
.blog-article__footer { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* Blog article typography (Excalibur body) */
.blog-article__canvas .blog-article__content.prose,
.blog-article__canvas .excalibur-article-body {
  font-size: clamp(1.125rem, 2.5vw, 1.1875rem);
  line-height: 1.75;
  max-width: none;
}

.blog-article__content.prose,
.excalibur-article-body {
  font-size: clamp(1.125rem, 2.5vw, 1.1875rem);
  line-height: 1.75;
  max-width: 72ch;
}
.blog-article__content.prose > p,
.excalibur-article-body > p {
  margin: 0 0 1.15em;
}
.blog-article__content.prose > p:first-of-type,
.excalibur-article-body > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.72;
}
.blog-article__content.prose h2,
.excalibur-article-body h2 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.26;
  margin: 2em 0 0.75em;
}
.blog-article__content.prose h3,
.excalibur-article-body h3 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.32;
  margin: 1.5em 0 0.6em;
}
.blog-article__content figure,
.excalibur-article-body figure,
.blog-article__content .inline-quad,
.excalibur-article-body .inline-quad {
  margin: 1.5em 0;
}
.blog-article__content figure img,
.excalibur-article-body figure img,
.blog-article__content .inline-quad img,
.excalibur-article-body .inline-quad img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}
.blog-article__content figcaption,
.excalibur-article-body figcaption,
.inline-quad figcaption {
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.55;
  color: var(--color-secondary);
  margin-top: var(--space-sm);
  opacity: 0.92;
}
.blog-article__content .answer-capsule,
.excalibur-article-body .answer-capsule {
  font-size: clamp(1.125rem, 2.5vw, 1.1875rem);
  line-height: 1.72;
}

/* Blog article tables */
.blog-article__content table,
.excalibur-article-body table,
.blog-article__content .comparison-table,
.excalibur-article-body .comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-outline-variant);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5em 0;
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.55;
  background: var(--color-surface-lowest);
  box-shadow: var(--shadow-card);
}
.blog-article__content table thead th,
.excalibur-article-body table thead th,
.blog-article__content .comparison-table thead th,
.excalibur-article-body .comparison-table thead th {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 75%, var(--color-secondary));
}
.blog-article__content table td,
.excalibur-article-body table td,
.blog-article__content table tbody th,
.excalibur-article-body table tbody th {
  padding: 12px 16px;
  border-top: 1px solid var(--color-outline-variant);
  vertical-align: top;
}
.blog-article__content table tbody tr:nth-child(even) td,
.excalibur-article-body table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--color-accent-rose) 55%, var(--color-surface-lowest));
}
.blog-article__content table tbody tr:nth-child(odd) td,
.excalibur-article-body table tbody tr:nth-child(odd) td {
  background: var(--color-surface-lowest);
}

@media (max-width: 767px) {
  .blog-article__canvas {
    --article-pad: 14px;
    width: 100%;
  }

  .blog-article__cover,
  .blog-article__content figure,
  .excalibur-article-body figure,
  .blog-article__content .inline-quad,
  .excalibur-article-body .inline-quad {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }

  .blog-article__cover img,
  .blog-article__content figure img,
  .excalibur-article-body figure img,
  .blog-article__content .inline-quad img,
  .excalibur-article-body .inline-quad img {
    border-radius: 0;
  }

  .blog-article__content figure figcaption,
  .excalibur-article-body figure figcaption,
  .blog-article__content .inline-quad figcaption,
  .excalibur-article-body .inline-quad figcaption {
    padding-inline: var(--article-pad);
  }

  /* Comparison tables → stacked cards */
  .blog-article__content .comparison-table,
  .excalibur-article-body .comparison-table {
    display: block;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .blog-article__content .comparison-table thead,
  .excalibur-article-body .comparison-table thead {
    display: none;
  }

  .blog-article__content .comparison-table tbody,
  .excalibur-article-body .comparison-table tbody {
    display: block;
  }

  .blog-article__content .comparison-table tbody tr,
  .excalibur-article-body .comparison-table tbody tr {
    display: block;
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    border: 1px solid var(--color-outline-variant);
    border-radius: var(--radius-md);
    background: var(--color-surface-lowest);
    box-shadow: var(--shadow-card);
  }

  .blog-article__content .comparison-table tbody td,
  .excalibur-article-body .comparison-table tbody td {
    display: block;
    padding: 0.5rem 0;
    border: none;
    background: transparent !important;
    text-align: left;
  }

  .blog-article__content .comparison-table tbody td::before,
  .excalibur-article-body .comparison-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
  }

  .blog-article__content .comparison-table tbody td:first-child,
  .excalibur-article-body .comparison-table tbody td:first-child {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-secondary);
    padding-bottom: 0.65rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--color-outline-variant);
  }

  .blog-article__content .comparison-table tbody td:first-child::before,
  .excalibur-article-body .comparison-table tbody td:first-child::before {
    display: none;
  }

  /* Non-comparison tables: horizontal scroll fallback */
  .blog-article__content table:not(.comparison-table),
  .excalibur-article-body table:not(.comparison-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .blog-article__content table:not(.comparison-table) thead,
  .excalibur-article-body table:not(.comparison-table) thead,
  .blog-article__content table:not(.comparison-table) tbody,
  .excalibur-article-body table:not(.comparison-table) tbody,
  .blog-article__content table:not(.comparison-table) tr,
  .excalibur-article-body table:not(.comparison-table) tr {
    display: table;
    width: 100%;
    table-layout: auto;
  }
}

.svc-expert-byline--inline { margin-top: var(--space-lg); padding: var(--space-md); background: var(--color-surface-low); border-radius: var(--radius-md); }
.svc-expert-byline p, .svc-installment-note p, .svc-male-teaser-row p, .svc-certificates-strip p, .svc-promo-hot p { margin: 0; }
.svc-promo-urgency__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); }
.svc-promo-urgency__text { margin: 0; flex: 1 1 280px; font-weight: 600; }

/* === Page Builder sections === */
.section--hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--color-accent-rose) 0%, var(--color-background) 55%); }
.section--rose { background: var(--color-accent-rose); }
.section--cream { background: var(--color-surface-low); }
.section--white { background: var(--color-surface-lowest); }
.section--teal { background: rgba(42, 127, 143, 0.08); }
.section--teal-light { background: rgba(42, 127, 143, 0.12); }
.section--navy { background: var(--color-secondary); color: var(--color-on-primary); }
.section--band { padding-block: var(--space-md); }
.section--inset { margin-top: var(--space-md); padding: var(--space-md); background: var(--color-surface-lowest); border-radius: var(--radius-md); border: 1px solid var(--color-outline-variant); }

.hero__grid, .hero-service__grid, .equipment__grid, .comfort__grid, .map-cta__grid, .svc-before-after__grid, .svc-laser-type-info__grid, .services-visual__grid, .myth-reality__grid {
  display: grid; gap: var(--space-lg); align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid, .hero-service__grid { grid-template-columns: 1fr 1fr; }
  .equipment__grid { grid-template-columns: 1.1fr 0.9fr; }
  .comfort__grid { grid-template-columns: 1fr 1.1fr; }
  .map-cta__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "info map" "form form"; }
  .map-cta__info { grid-area: info; }
  .map-cta__map { grid-area: map; }
  .map-cta__form { grid-area: form; }
  .svc-before-after__grid, .svc-laser-type-info__grid, .services-visual__grid, .myth-reality__grid { grid-template-columns: 1fr 1fr; }
}

.hero__blob {
  position: absolute; inset: -20% 30% auto -10%; width: 60%; height: 70%;
  background: radial-gradient(circle, rgba(212, 20, 90, 0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 0;
}
#hero-blob-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__grid > *, .hero-service__grid > * { position: relative; z-index: 1; }

.hero__eyebrow { font-size: 0.875rem; font-weight: 600; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 var(--space-sm); }
.hero__title { margin-bottom: var(--space-sm); }
.hero__subtitle { font-size: 1.0625rem; margin: 0 0 var(--space-md); max-width: 52ch; }
.hero__bullets { margin: 0 0 var(--space-md); padding-left: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__cutout { margin-inline: auto; max-height: min(70vh, 520px); object-fit: contain; }
.hero-service__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.geo-answer, .trust-line, .hero__geo-answer, .hero__trust-line {
  font-size: 0.95rem; line-height: 1.6; padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-lowest); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.section__intro { max-width: 65ch; margin-bottom: var(--space-lg); opacity: 0.9; }
.section__cta-row { margin-top: var(--space-lg); }

.trust__grid, .cosmetology-services__grid, .team__grid {
  display: grid; gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .cosmetology-services__grid { grid-template-columns: repeat(3, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
}

.card--trust { padding: var(--space-md); }
.card--service-visual .card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.card--service-visual .card__body { padding-top: var(--space-sm); }
.card__price { font-weight: 700; color: var(--color-primary); margin: var(--space-sm) 0; }
.card--team .card__media--cutout img { max-height: 220px; object-fit: contain; margin-inline: auto; }
.card__meta { display: flex; gap: var(--space-sm); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-secondary); margin: 0 0 var(--space-sm); }
.card--topic-plan { border-style: dashed; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-table, .comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.pricing-table th, .pricing-table td, .comparison-table th, .comparison-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--color-outline-variant); text-align: left; vertical-align: top;
}
.pricing-table thead th, .comparison-table thead th { background: var(--color-surface-low); font-weight: 700; }
.pricing-table tbody th[scope="row"], .comparison-table tbody th[scope="row"] { font-weight: 600; color: var(--color-secondary); }
.pricing-table__note { display: block; font-size: 0.8125rem; font-weight: 400; opacity: 0.8; margin-top: 4px; }
.pricing-table a { color: inherit; text-decoration: none; }
.pricing-table a:hover { color: var(--color-primary); }

.popular-procedures { margin-top: var(--space-lg); }
.blog-fact-link p { margin: 0; }

.equipment__specs { padding-left: 1.2rem; }
.equipment__cutout { max-height: 420px; object-fit: contain; margin-inline: auto; }

.procedure-steps__cols { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .procedure-steps__cols { grid-template-columns: repeat(2, 1fr); } }
.procedure-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.procedure-steps li { position: relative; padding-left: 2.5rem; margin-bottom: var(--space-md); }
.procedure-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem;
  background: var(--color-primary); color: var(--color-on-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700;
}

.svc-promo-urgency__inner, .svc-certificates-strip__inner, .svc-male-teaser-row__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.svc-promo-urgency__text, .svc-certificates-strip__text, .svc-male-teaser-row__text, .svc-installment-note__text, .svc-promo-hot__text, .svc-expert-byline__text { margin: 0; }
.svc-certificates-strip__lead { max-width: 72ch; }
.svc-certificates-strip__list {
  margin: var(--space-md) 0 0; padding: 0; list-style: none;
  display: grid; gap: var(--space-sm);
}
@media (min-width: 768px) { .svc-certificates-strip__list { grid-template-columns: repeat(3, 1fr); } }
.svc-certificates-strip__list li {
  padding: var(--space-sm) var(--space-md); background: color-mix(in srgb, var(--color-surface) 80%, white);
  border-radius: var(--radius-sm); border-left: 3px solid var(--color-primary); font-size: 0.875rem;
}
.studio-story__layout {
  display: grid; gap: var(--space-lg); align-items: center;
}
@media (min-width: 768px) { .studio-story__layout { grid-template-columns: 1fr 1fr; } }
.studio-story__image { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; }
.studio-story__link { display: inline-block; margin-top: var(--space-sm); }
.reviews__lead { max-width: 62ch; margin-inline: auto; font-size: clamp(1rem, 0.35vw + 0.95rem, 1.0625rem); }
.reviews__carousel {
  margin-top: var(--space-lg); overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  padding-bottom: var(--space-xs);
}
.reviews__track {
  display: flex; gap: var(--space-md); min-width: min(100%, 320px);
}
.reviews__track > .card--review {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .reviews__track > .card--review { flex-basis: calc(50% - var(--space-md) / 2); }
}
@media (min-width: 1024px) {
  .reviews__track > .card--review { flex-basis: calc(33.333% - var(--space-md) * 2 / 3); }
}
.card--review {
  padding: var(--space-md); background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); display: grid; gap: var(--space-sm);
}
.card--review__head { display: flex; align-items: center; gap: var(--space-sm); }
.card--review__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 1.125rem;
  background: color-mix(in srgb, var(--color-primary) 14%, white);
  color: var(--color-primary);
}
.card--review__meta { min-width: 0; }
.card--review__name { margin: 0; font-size: 1rem; }
.card--review__role { margin: 0; font-size: 0.8125rem; opacity: 0.72; }
.card--review__procedure {
  margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--color-primary);
}
.card--review__quote { margin: 0; }
.card--review__quote p {
  margin: 0; font-size: clamp(0.9375rem, 0.25vw + 0.9rem, 1rem); line-height: 1.65;
}
.reviews__platforms { margin-top: var(--space-xl); }
.reviews__platforms-lead {
  text-align: center; margin: 0 0 var(--space-md);
  font-size: 0.9375rem; opacity: 0.85;
}
.reviews__platforms-grid {
  display: grid; gap: var(--space-md);
}
@media (min-width: 768px) {
  .reviews__platforms-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-inline: auto; }
}
.reviews__grid { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
@media (min-width: 768px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
.card--review-platform { padding: var(--space-lg); text-align: center; }
.card--review-platform .card__text { margin-bottom: var(--space-md); font-size: 0.9375rem; }
.card--service-visual .card__image--photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.svc-before-after__disclaimer { font-size: 0.875rem; opacity: 0.85; }

.faq__item { border-bottom: 1px solid var(--color-outline-variant); }
.faq__question {
  width: 100%; text-align: left; padding: var(--space-md) 2rem var(--space-md) 0;
  background: none; border: none; font: inherit; font-weight: 600; color: var(--color-secondary);
  cursor: pointer; position: relative;
}
.faq__question::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--color-primary); }
.faq__item.is-open .faq__question::after { content: "−"; }
.faq__answer { padding: 0 var(--space-md) var(--space-md); }
.faq__answer[hidden] { display: none; }

.display-md--light, .headline-sm--light { color: var(--color-on-primary); }
.map-cta__nap address { font-style: normal; line-height: 1.7; margin: var(--space-md) 0; }
.map-cta__nap a { color: var(--color-accent-rose); }
.map-cta__legal { font-size: 0.875rem; opacity: 0.85; }
.map-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.btn--light { border-color: var(--color-on-primary); color: var(--color-on-primary); }
.btn--light:hover { background: var(--color-on-primary); color: var(--color-secondary); }
.map-cta__iframe { width: 100%; min-height: 280px; border: 0; border-radius: var(--radius-md); }

.benefits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-sm); }
@media (min-width: 768px) { .benefits-list { grid-template-columns: repeat(2, 1fr); } }

.blog-archive__header { margin-bottom: var(--space-lg); }
.blog-archive__sub { opacity: 0.85; }
.section-padding-top { padding-top: var(--space-lg); }

.comfort__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; object-fit: cover; }
.services-visual__img img, .myth-reality__visual img, .svc-laser-type-info__img, .svc-before-after__img {
  border-radius: var(--radius-lg); width: 100%; object-fit: cover;
}

/* === Motion implementation (Aurora Team Motion) === */
.site-header { transition: box-shadow var(--duration-fast) var(--easing), background var(--duration-fast) var(--easing); }
.site-header.is-scrolled { box-shadow: var(--shadow-header); }

.section-hero--home { margin-bottom: 0; overflow: visible; }
@media (min-width: 768px) { .section-hero--home { margin-bottom: -32px; } }
@media (min-width: 1024px) { .section-hero--home { margin-bottom: -48px; } }
.section-hero--home .hero__cutout,
.section-hero--home .hero__visual { position: relative; z-index: 2; }

#cosmetology-services { position: relative; }
#cosmetology-services::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--color-surface-lowest));
}
@media (min-width: 768px) { #cosmetology-services::after { height: 60px; } }
@media (min-width: 1024px) { #cosmetology-services::after { height: 80px; } }

.section-equipment,
.section--equipment { position: relative; border-radius: 24px 24px 0 0; margin-top: -24px; }
@media (min-width: 1024px) {
  .section-equipment,
  .section--equipment { margin-top: -32px; }
  .equipment__cutout,
  [data-motion="equipment-cutout"] { margin-top: -32px; position: relative; z-index: 2; }
}
.section-equipment::after,
.section--equipment::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32px; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--color-background));
}
@media (min-width: 768px) {
  .section-equipment::after,
  .section--equipment::after { height: 48px; }
}
@media (min-width: 1024px) {
  .section-equipment::after,
  .section--equipment::after { height: 60px; }
}

.section-map-cta.section-band--cream .section-title--light,
.section-map-cta.section-band--cream .map-cta__form-title { color: var(--color-secondary); }
.section-map-cta.section-band--cream .map-cta__nap a { color: var(--color-primary); }
.section-map-cta.section-band--cream .map-cta__form {
  background: var(--color-surface-lowest); border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-card); color: var(--color-on-background);
}
.section-map-cta.section-band--cream .btn--on-dark {
  border-color: var(--color-secondary); color: var(--color-secondary);
}
.section-map-cta.section-band--cream .btn--on-dark:hover {
  background: var(--color-secondary); color: var(--color-on-primary);
}

.section-map-cta.section-band--charcoal .section-title--light { color: var(--color-footer-text); }
.section-map-cta.section-band--charcoal .map-cta__nap,
.section-map-cta.section-band--charcoal .map-cta__legal { color: rgba(247, 244, 241, 0.92); }
.section-map-cta.section-band--charcoal .map-cta__nap a { color: var(--color-primary); }
.section-map-cta.section-band--charcoal .btn--on-dark {
  border-color: rgba(247, 244, 241, 0.65); color: var(--color-footer-text);
}
.section-map-cta.section-band--charcoal .btn--on-dark:hover {
  background: rgba(247, 244, 241, 0.12); color: var(--color-footer-text);
}
.section-map-cta--with-map .map-cta__layout {
  display: grid;
  gap: var(--space-lg);
  align-items: stretch;
  width: 100%;
}
@media (min-width: 768px) {
  .section-map-cta--with-map .map-cta__layout {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    grid-auto-flow: row;
  }
}
@media (min-width: 1024px) {
  .section-map-cta--with-map .map-cta__layout {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    align-items: stretch;
  }
}
.map-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.section-map-cta--with-map .map-cta__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
}
.section-map-cta--with-map .map-cta__map {
  min-height: 320px;
  display: flex;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.section-map-cta--with-map .map-cta__iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
}
@media (min-width: 1024px) {
  .section-map-cta--with-map .map-cta__map,
  .section-map-cta--with-map .map-cta__iframe { min-height: 380px; }
}
.section-map-cta--with-map.map-cta--has-form .map-cta__layout {
  grid-template-areas: "copy map" "form form";
}
.section-map-cta--with-map.map-cta--has-form .map-cta__copy { grid-area: copy; }
.section-map-cta--with-map.map-cta--has-form .map-cta__map { grid-area: map; }
.section-map-cta--with-map.map-cta--has-form .map-cta__form { grid-area: form; }

/* Booking modal — v5 form-only centered card */
.booking-modal[hidden] { display: none !important; }
.booking-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 24px);
}
.booking-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 15, 18, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.booking-modal__card {
  position: relative; z-index: 1;
  width: min(100%, 900px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 20px;
  background: #F5F0EB;
  border: 1px solid color-mix(in srgb, #2d2d2d 6%, transparent);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  outline: none;
  isolation: isolate;
}
.booking-modal__card--cinematic {
  background-color: #F5F0EB;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.booking-modal__card--form-only {
  width: min(100%, 500px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #F5F0EB;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}
.booking-modal__card--form-only .booking-modal__card-inner {
  display: flex;
  justify-content: center;
  min-height: auto;
}
.booking-modal__card--form-only .booking-modal__form-zone {
  width: 100%;
  max-width: 100%;
  padding: clamp(36px, 5vw, 48px) clamp(28px, 5vw, 40px) clamp(32px, 5vw, 40px);
}
.booking-modal__card--form-only .booking-modal__title {
  margin-top: 0;
  font-size: clamp(2rem, 4.8vw, 2.65rem);
  line-height: 1.08;
}
.booking-modal__card--form-only .booking-modal__lead {
  margin-bottom: var(--space-md);
}
.booking-modal__card--form-only .booking-modal__close {
  color: #2d2d2d;
  text-shadow: none;
}
.booking-modal__card--form-only .booking-modal__close:hover {
  color: #1a1a2e;
}
@media (prefers-reduced-motion: no-preference) {
  .booking-modal.is-opening .booking-modal__card {
    animation: bookingModalIn 0.38s var(--easing);
  }
  @keyframes bookingModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}
.booking-modal__card--cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to left, transparent 55%, rgba(26, 26, 46, 0.06) 100%);
}
.booking-modal__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(245, 240, 235, 0.98) 0%,
    rgba(247, 244, 241, 0.96) 32%,
    rgba(247, 244, 241, 0.88) 44%,
    rgba(247, 244, 241, 0.62) 52%,
    rgba(247, 244, 241, 0.28) 62%,
    rgba(247, 244, 241, 0.08) 72%,
    transparent 82%
  );
}
.booking-modal__card-inner {
  position: relative;
  z-index: 2;
  min-height: min(540px, calc(100vh - 48px));
}
.booking-modal__form-zone {
  width: min(100%, 56%);
  padding: clamp(28px, 4.5vw, 44px) clamp(24px, 4vw, 40px);
  color: #2d2d2d;
  overflow-y: auto;
  max-height: calc(100vh - 32px);
}
.booking-modal__accent {
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 28px);
  z-index: 3;
  margin: 0;
  max-width: 38%;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
  line-height: 1.25;
  pointer-events: none;
}
.booking-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  width: 36px; height: 36px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  transition: color 0.2s var(--easing), transform 0.2s var(--easing);
}
.booking-modal__close:hover {
  color: #F5F0EB;
  transform: scale(1.06);
}
.booking-modal__brand { margin-bottom: var(--space-md); }
.booking-modal__logo {
  height: 30px; width: auto;
}
.booking-modal__tagline {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, #2d2d2d 62%, transparent);
}
.booking-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, #2d2d2d 55%, transparent);
}
.booking-modal__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.45rem);
  font-weight: 600;
  line-height: 1.1;
  color: #1a1a2e;
}
.booking-modal__lead {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: color-mix(in srgb, #2d2d2d 72%, transparent);
}
.booking-modal .lead-form__grid { gap: 12px; grid-template-columns: 1fr; }
.booking-modal .form-field--icon { position: relative; }
.booking-modal .form-field--icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.5;
  pointer-events: none;
  background: currentColor;
  color: #2d2d2d;
}
.booking-modal .form-field--icon-user::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 6-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 6-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.booking-modal .form-field--icon-phone::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6.5 4h3l1.5 5-2 1.5a11 11 0 0 0 5 5l1.5-2 5 1.5v3a2 2 0 0 1-2 2A15 15 0 0 1 4.5 6.5 2 2 0 0 1 6.5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6.5 4h3l1.5 5-2 1.5a11 11 0 0 0 5 5l1.5-2 5 1.5v3a2 2 0 0 1-2 2A15 15 0 0 1 4.5 6.5 2 2 0 0 1 6.5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.booking-modal .form-field input:not([type="checkbox"]) {
  width: 100%;
  border-radius: var(--radius-full);
  min-height: 52px;
  font-size: 1rem;
  padding: 0 20px 0 48px;
  border: 1px solid color-mix(in srgb, #2d2d2d 12%, transparent);
  background: rgba(255, 255, 255, 0.72);
  color: #1a1a2e;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.booking-modal .form-field input:not([type="checkbox"])::placeholder {
  color: color-mix(in srgb, #2d2d2d 42%, transparent);
}
.booking-modal .form-field input:not([type="checkbox"]):focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 45%, #2d2d2d);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(212, 20, 90, 0.12);
}
.booking-modal .form-field--consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.booking-modal .form-field--consent .lead-form__consent-label {
  font-size: 0.75rem;
  line-height: 1.45;
  color: color-mix(in srgb, #2d2d2d 68%, transparent);
}
.booking-modal .form-field--consent .lead-form__consent-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  border: 2px solid color-mix(in srgb, #2d2d2d 38%, transparent);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.booking-modal .form-field--consent .lead-form__consent-input:checked {
  border-color: var(--color-primary);
  background: var(--color-primary);
}
.booking-modal .form-field--consent .lead-form__consent-input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.booking-modal .form-field--consent .lead-form__consent-input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.booking-modal .lead-form__submit {
  border-radius: var(--radius-full);
  min-height: 54px;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  margin-top: var(--space-sm);
  color: #1a1a2e;
  border: 1px solid color-mix(in srgb, #2d2d2d 8%, transparent);
  background: linear-gradient(135deg, #F5F0EB 0%, #E8D5C4 52%, #DFC9B5 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 0.2s var(--easing), box-shadow 0.2s var(--easing), transform 0.2s var(--easing);
}
.booking-modal .lead-form__submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #FAF7F4 0%, #EDD9C8 50%, #D4BFA8 100%);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}
.booking-modal .lead-form__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.booking-modal__trust {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.booking-modal__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: color-mix(in srgb, #2d2d2d 68%, transparent);
}
.booking-modal__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #D4145A;
  background: transparent;
}
.booking-modal .lead-form__status { margin-top: 10px; font-size: 0.875rem; }
.booking-modal .lead-form__status.is-error { color: #b42318; }
/* Success screen — v6 */
.booking-modal__form-zone.is-hiding {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.booking-modal__form-zone.is-hidden { display: none !important; }
.booking-modal__success[hidden] { display: none !important; }
.booking-modal__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 320px;
  padding: clamp(40px, 6vw, 56px) clamp(28px, 5vw, 40px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.booking-modal__success.is-visible {
  opacity: 1;
  transform: none;
}
.booking-modal__success-icon {
  margin-bottom: var(--space-md);
  line-height: 0;
}
.booking-modal__success-svg {
  display: block;
  width: clamp(72px, 18vw, 88px);
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .booking-modal__success.is-visible .booking-modal__success-svg circle:last-of-type {
    animation: bookingSuccessPop 0.5s cubic-bezier(0.34, 1.4, 0.64, 1) 0.05s both;
  }
  .booking-modal__success.is-visible .booking-modal__success-svg path {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: bookingSuccessCheck 0.45s ease 0.28s forwards;
  }
  @keyframes bookingSuccessPop {
    from { transform: scale(0.72); transform-origin: center; opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
  }
  @keyframes bookingSuccessCheck {
    to { stroke-dashoffset: 0; }
  }
}
.booking-modal__success-title {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a2e;
}
.booking-modal__success-text {
  margin: 0 0 var(--space-lg);
  max-width: 28ch;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.55;
  color: color-mix(in srgb, #2d2d2d 78%, transparent);
}
.booking-modal__success-close {
  min-width: 140px;
  margin-top: auto;
}
.lead-form--compact .lead-form__grid { grid-template-columns: 1fr; }
.booking-modal .lead-form__fine-print { display: none; }
body.is-booking-open { overflow: hidden; }
@media (max-width: 767px) {
  .booking-modal__card--cinematic {
    background-position: center top;
  }
  .booking-modal__card--cinematic::after {
    background: linear-gradient(to bottom, transparent 28%, rgba(26, 26, 46, 0.08) 100%);
  }
  .booking-modal__card-overlay {
    background: linear-gradient(
      to bottom,
      rgba(26, 26, 46, 0.04) 0%,
      rgba(247, 244, 241, 0.42) 42%,
      rgba(245, 240, 235, 0.94) 58%,
      rgba(245, 240, 235, 0.98) 100%
    );
  }
  .booking-modal__card-inner {
    min-height: auto;
    padding-top: clamp(148px, 34vw, 200px);
  }
  .booking-modal__card--form-only .booking-modal__card-inner {
    padding-top: 0;
  }
  .booking-modal__form-zone {
    width: 100%;
    max-height: none;
    padding: 0 clamp(20px, 5vw, 28px) clamp(24px, 5vw, 32px);
  }
  .booking-modal__card--form-only .booking-modal__form-zone {
    padding: clamp(28px, 5vw, 36px) clamp(20px, 5vw, 28px) clamp(24px, 5vw, 32px);
  }
  .booking-modal__accent {
    top: clamp(118px, 27vw, 168px);
    bottom: auto;
    right: 14px;
    max-width: 58%;
    font-size: 1rem;
  }
  .booking-modal__close {
    top: 10px;
    right: 10px;
  }
  .booking-modal__trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .booking-modal__trust-item {
    flex-direction: row;
    text-align: left;
  }
}

.pricing-tab-panel { transition: opacity 0.25s var(--easing); }
.comparison-table td.is-highlighted,
.comparison-table th.is-highlighted { background: color-mix(in srgb, var(--color-accent-rose) 70%, white); }

.pricing-collapsible { margin-top: var(--space-md); }
.pricing-collapsible__summary {
  cursor: pointer; font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600; color: var(--color-secondary); list-style: none; padding: var(--space-md);
  background: var(--color-accent-rose); border-radius: var(--radius-md);
  border: 1px solid var(--color-outline-variant);
}
.pricing-collapsible__summary::-webkit-details-marker { display: none; }
.pricing-collapsible__summary::after { content: " ▾"; color: var(--color-primary); }
.pricing-collapsible[open] .pricing-collapsible__summary::after { content: " ▴"; }
.pricing-collapsible__body { padding-top: var(--space-md); }

.section-equipment.section-band--teal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.procedure-steps { position: relative; }

.comfort__image-band { overflow: hidden; border-radius: var(--radius-lg); }
.comfort__copy {
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.125rem);
  line-height: 1.65;
}
.comfort__copy p,
.comfort__list li {
  font-size: inherit;
  line-height: inherit;
}
.comfort__list li { margin-bottom: 0.4em; }
@media (min-width: 1024px) {
  .comfort__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}
.comfort__gallery {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr 1fr;
  align-content: center;
}
.comfort__gallery .comfort__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.card__image--photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  border-radius: calc(var(--radius-card) - 4px);
  background: var(--color-accent-rose);
}
.hero__image--photo {
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.equipment__photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}
.comfort__image { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

[data-motion="floating-wa"],
.floating-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-floating-wa);
  animation: penza-wa-pulse 3s ease-in-out infinite;
}
@keyframes penza-wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(212, 20, 90, 0.25); opacity: 1; }
  50% { box-shadow: 0 6px 28px rgba(212, 20, 90, 0.45); opacity: 0.92; }
}
@media (prefers-reduced-motion: reduce) {
  [data-motion="floating-wa"],
  .floating-wa { animation: none; }
}

.svc-before-after__track,
[data-before-after-carousel] {
  display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.svc-before-after__track > *,
[data-before-after-carousel] > img {
  flex: 0 0 85%; scroll-snap-align: start;
}

.is-inview { /* marker for ScrollTrigger / CSS coupling */ }

/* Commercial page stack — Phase 4 */
.site-main--commercial { --commercial-anchor-offset: 72px; }

.breadcrumbs {
  padding: var(--space-sm) 0 0;
  background: var(--color-background);
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--color-secondary) 72%, transparent);
}
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  opacity: 0.45;
  margin-left: 2px;
}
.breadcrumbs__link {
  color: var(--color-primary);
  text-decoration: none;
}
.breadcrumbs__link:hover { text-decoration: underline; }
.breadcrumbs__current { color: var(--color-secondary); font-weight: 600; }
@media (max-width: 479px) {
  .breadcrumbs { display: none; }
}

.price-anchor-bar {
  position: sticky;
  top: var(--header-offset, var(--header-height));
  z-index: 40;
  background: color-mix(in srgb, var(--color-background) 92%, white);
  border-bottom: 1px solid var(--color-outline-variant);
  box-shadow: 0 4px 16px rgba(27, 58, 75, 0.06);
  transition: box-shadow 0.2s ease;
}
.price-anchor-bar.is-scrolled {
  box-shadow: 0 6px 24px rgba(27, 58, 75, 0.1);
}
.price-anchor-bar__inner {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0;
}
.price-anchor-bar__inner::-webkit-scrollbar { display: none; }
.price-anchor-bar__link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.price-anchor-bar__link:hover,
.price-anchor-bar__link.is-active {
  background: color-mix(in srgb, var(--color-accent-rose) 55%, white);
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.hero__price-pill--inner {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: var(--space-sm) 0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-accent-rose) 70%, white);
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.hero__price-pill--inner .hero__price-pill-value {
  color: var(--color-primary);
  font-weight: 700;
}

.about-procedure__layout {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .about-procedure__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}
.about-procedure__bullets {
  margin: var(--space-md) 0 0;
  padding-left: 1.25rem;
}
.about-procedure__bullets li { margin-bottom: 6px; }
.about-procedure__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.commercial-icp__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
@media (min-width: 768px) {
  .commercial-icp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.commercial-icp__col {
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.commercial-icp__title {
  margin: 0 0 var(--space-sm);
  color: var(--color-secondary);
}
.commercial-icp__list {
  margin: 0;
  padding-left: 1.1rem;
}
.commercial-icp__list li { margin-bottom: 8px; }
.commercial-icp__footer {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  opacity: 0.85;
}

.pricing-cards__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
@media (min-width: 640px) {
  .pricing-cards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card--pricing {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-outline-variant);
  background: var(--color-surface-lowest);
  box-shadow: var(--shadow-card);
}
.card--pricing .card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: var(--space-xs) 0;
}

.related-services__grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
@media (min-width: 768px) {
  .related-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card--related {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-card);
}
.card--related .card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card--related .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
}
.card--related .card__title a {
  color: var(--color-secondary);
  text-decoration: none;
}
.card--related .card__title a:hover { color: var(--color-primary); }
.card--related .card__price {
  color: var(--color-primary);
  font-weight: 700;
  margin: 4px 0 var(--space-xs);
}

.pricing-table__note {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  opacity: 0.85;
}

.card--service-detail .card__link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.card--service-detail .card__link:hover { text-decoration: underline; }

/* === P1 Homepage Visual Polish (2026-09-16) === */
:root {
  --radius-card: 20px;
  --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-premium-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.section-band--white { background: var(--color-surface-lowest); }
.section-band--coral {
  background: linear-gradient(135deg, #FF6B4A 0%, #D4145A 100%);
  color: var(--color-on-primary);
}

.section-header { margin-bottom: var(--space-lg); }
.section-header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
}
.section-header__copy { flex: 1 1 280px; max-width: 720px; }
.section-eyebrow {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.section-band--coral .section-eyebrow,
.cosmetology-promo__eyebrow { color: rgba(255, 255, 255, 0.88); }
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  margin-bottom: var(--space-sm);
}
.section-lead--tight { margin-bottom: 0; }

.btn--primary {
  background: linear-gradient(135deg, #D4145A 0%, #B8104C 100%);
  border: none;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #B8104C 0%, #9A0D40 100%);
}
.btn--ghost {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-outline-variant);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--color-accent-rose);
  border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
  color: var(--color-primary);
}
.btn--on-coral {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.btn--on-coral:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.btn--primary.btn--on-coral {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.btn--primary.btn--on-coral:hover {
  background: var(--color-accent-rose);
  color: var(--color-primary-hover);
}

.card,
.card--trust,
.card--team,
.card--service-visual,
.commercial-icp__col,
.popular-procedures__card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium);
}
.card:hover,
.popular-procedures__card:hover {
  box-shadow: var(--shadow-premium-hover);
}

.popular-procedures__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .popular-procedures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .popular-procedures__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.popular-procedures__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  padding: var(--space-md) var(--space-md) calc(var(--space-md) - 4px);
  background: var(--color-surface-lowest);
  border: 1px solid var(--color-outline-variant);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing), border-color var(--duration-fast) var(--easing);
}
.popular-procedures__card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  color: inherit;
}
.popular-procedures__hub {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-teal);
}
.popular-procedures__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-secondary);
}
.popular-procedures__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-coral);
  letter-spacing: -0.01em;
}
.popular-procedures__sub {
  font-size: 0.8125rem;
  color: var(--color-on-background);
  opacity: 0.72;
}
.popular-procedures__link {
  margin-top: auto;
  padding-top: var(--space-xs);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.cosmetology-promo__inner {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 768px) {
  .cosmetology-promo__inner { grid-template-columns: 1.2fr auto; }
}
.cosmetology-promo__eyebrow {
  margin: 0 0 var(--space-xs);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cosmetology-promo__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}
.cosmetology-promo__text {
  margin: 0;
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.cosmetology-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trust__grid,
.cosmetology-services__grid,
.team__grid {
  gap: var(--space-md);
}
.card--trust,
.card--team {
  padding: var(--space-lg);
  height: 100%;
}

.commercial-icp__col {
  padding: var(--space-lg);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}
.commercial-icp__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  border-radius: 14px;
  background: var(--color-accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}
.commercial-icp__col--indications .commercial-icp__icon {
  background: color-mix(in srgb, var(--color-primary) 12%, white);
}
.commercial-icp__col--indications .commercial-icp__icon::before { content: "✓"; color: var(--color-primary); font-weight: 800; font-size: 1.25rem; }
.commercial-icp__col--contra .commercial-icp__icon {
  background: color-mix(in srgb, var(--color-error) 10%, white);
}
.commercial-icp__col--contra .commercial-icp__icon::before { content: "!"; color: var(--color-error); font-weight: 800; font-size: 1.25rem; }
.commercial-icp__col--prep .commercial-icp__icon {
  background: color-mix(in srgb, var(--color-accent-teal) 12%, white);
}
.commercial-icp__col--prep .commercial-icp__icon::before { content: "i"; color: var(--color-accent-teal); font-weight: 800; font-size: 1.125rem; font-style: italic; }
.commercial-icp__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.commercial-icp__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.commercial-icp__bullet {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--color-primary);
}
.commercial-icp__col--contra .commercial-icp__bullet { background: var(--color-error); }
.commercial-icp__col--prep .commercial-icp__bullet { background: var(--color-accent-teal); }

.pricing-table {
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.pricing-table thead th {
  background: var(--color-secondary);
  color: var(--color-on-primary);
  border: none;
  padding: 14px 18px;
}
.pricing-table thead th:first-child { border-radius: var(--radius-card) 0 0 var(--radius-card); }
.pricing-table thead th:last-child { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.pricing-table tbody tr {
  background: var(--color-surface-lowest);
  box-shadow: var(--shadow-premium);
}
.pricing-table tbody td,
.pricing-table tbody th[scope="row"] {
  border: none;
  padding: 16px 18px;
  vertical-align: middle;
}
.pricing-table tbody tr td:first-child,
.pricing-table tbody tr th[scope="row"]:first-child {
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}
.pricing-table tbody tr td:last-child { border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.pricing-table tbody td:last-child,
.pricing-table .pricing-table__price {
  font-weight: 800;
  color: var(--color-accent-coral);
  font-size: 1.0625rem;
  white-space: nowrap;
}

.section-map-cta--home {
  margin-bottom: 0;
}
.section-map-cta--home .section-title--light,
.section-map-cta.section-band--cream .section-title {
  color: var(--color-secondary);
}
.section-map-cta--home .map-cta__nap {
  color: var(--color-on-background);
}

.site-main--home .section-padding {
  padding-block: var(--section-y-mobile);
}
@media (min-width: 1024px) {
  .site-main--home .section-padding { padding-block: var(--section-y); }
}

#cosmetology-services::after { display: none; }

.card__image { border-radius: calc(var(--radius-card) - 4px); }

.faq {
  background: var(--color-surface-lowest);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium);
  padding: 0 var(--space-md);
}
.faq__item:first-child .faq__question { padding-top: var(--space-md); }

.svc-certificates-strip__list li {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-premium);
  background: var(--color-surface-lowest);
}

/* Fortune wheel popup */
.fortune-wheel[hidden] { display: none !important; }
.fortune-wheel {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2.5vw, 20px);
}
.fortune-wheel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 12, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fortune-wheel__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  max-height: calc(100dvh - 24px);
  overflow: hidden auto;
  border-radius: 24px;
  background-color: #faf7f4;
  background-image: url('../images/fortune-wheel-hero.jpg');
  background-position: 50% 42%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
  outline: none;
}
.fortune-wheel__dialog::before {
  display: none;
}
.fortune-wheel__topbar,
.fortune-wheel__layout {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .fortune-wheel.is-opening .fortune-wheel__dialog {
    animation: fortuneModalIn 0.42s var(--easing, ease);
  }
  @keyframes fortuneModalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}
.fortune-wheel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #3d2f2a;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, transform 0.2s;
}
.fortune-wheel__close:hover { background: #fff; transform: scale(1.04); }
.fortune-wheel__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 24px 0;
}
.fortune-wheel__brand {
  display: none;
}
.fortune-wheel__logo { display: block; height: auto; max-height: 32px; width: auto; }
.fortune-wheel__layout {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(300px, 36%) minmax(28px, 16%);
  gap: clamp(2px, 0.5vw, 5px);
  align-items: center;
  padding: 8px 14px 36px 0;
  min-height: 420px;
  overflow: visible;
}
.fortune-wheel__wheel-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2px, 0.6vh, 6px) 0 clamp(6px, 1.2vh, 14px) 0;
  position: relative;
  align-self: stretch;
  overflow: visible;
}
.fortune-wheel__wheel-col::before {
  display: none;
}
.fortune-wheel__wheel-wrap {
  position: relative;
  width: min(56vw, 548px);
  aspect-ratio: 1;
  flex-shrink: 0;
  margin-inline: clamp(-6px, -0.5vw, 0) clamp(-28px, -2.8vw, -10px);
  transform: translate(30px, -14px);
  filter:
    drop-shadow(0 0 18px rgba(212, 20, 90, 0.2))
    drop-shadow(0 6px 24px rgba(0, 0, 0, 0.1));
}
.fortune-wheel__face-col {
  min-height: 1px;
  pointer-events: none;
}
.fortune-wheel__pointer {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 5;
  transform: translateY(-50%) translateX(-6px);
  filter:
    drop-shadow(2px 3px 5px rgba(26, 26, 46, 0.38))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.fortune-wheel__pointer svg { display: block; width: 44px; height: 38px; }
.fortune-wheel__svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(0deg);
  transform-origin: center center;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .fortune-wheel__svg.is-idle-spin {
    animation: fortuneIdleSpin 25s linear infinite;
  }
  @keyframes fortuneIdleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
}
.fortune-wheel__seg-text {
  font-family: var(--font-body, 'Manrope', sans-serif);
  letter-spacing: -0.02em;
}
.fortune-wheel__form-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(8px, 1.5vh, 16px) 0;
  margin-left: clamp(46px, calc(5vw + 16px), 74px);
  padding-left: clamp(0px, 0.6vw, 8px);
  padding-right: clamp(0px, 1vw, 12px);
  justify-self: start;
  align-self: center;
}
.fortune-wheel__form-col::before {
  display: none;
}
.fortune-wheel__panel {
  width: 100%;
  max-width: min(100%, 472px);
  margin-inline: auto;
  padding: clamp(12px, 2vw, 18px) clamp(8px, 1.5vw, 16px);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  text-align: center;
}
.fortune-wheel__accent {
  color: var(--color-primary, #D4145A);
  font-weight: 700;
}
.fortune-wheel__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1px, 0.25vw, 4px);
  margin: 0 0 6px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-weight: 600;
  color: #1a1a2e;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.92),
    0 0 14px rgba(255, 252, 248, 0.65);
}
.fortune-wheel__title-line {
  display: block;
  line-height: 1.2;
}
.fortune-wheel__title-line--primary {
  font-size: clamp(1.48rem, 2.85vw, 1.88rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  width: 100%;
  display: flex;
  justify-content: center;
}
.fortune-wheel__title-anchor {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  width: min(100%, 28rem);
  column-gap: 0.28em;
}
.fortune-wheel__title-part--left {
  text-align: right;
  white-space: nowrap;
}
.fortune-wheel__title-part--mid {
  text-align: center;
  white-space: nowrap;
}
.fortune-wheel__title-part--right {
  text-align: left;
  white-space: nowrap;
}
.fortune-wheel__title-line--secondary {
  display: none;
}
.fortune-wheel__title-line--primary .fortune-wheel__accent {
  font-weight: 800;
  letter-spacing: 0.03em;
}
.fortune-wheel__lead {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  line-height: 1.45;
  color: #3d3540;
  max-width: none;
  text-shadow:
    0 1px 2px rgba(255, 255, 255, 0.88),
    0 0 12px rgba(255, 252, 248, 0.55);
}
.fortune-wheel__lead .fortune-wheel__accent {
  font-weight: 800;
}
.fortune-wheel__lottery {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7d88;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}
.fortune-wheel__lottery span {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.fortune-wheel__form {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.fortune-wheel__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.fortune-wheel__field {
  width: 100%;
  max-width: 340px;
}
.fortune-wheel__field input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(166, 123, 107, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 1rem;
  color: #2d2d2d;
  outline: none;
  box-shadow: 0 2px 8px rgba(166, 123, 107, 0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fortune-wheel__field input::placeholder { color: #9a8a82; }
.fortune-wheel__field input:focus {
  border-color: var(--color-primary, #D4145A);
  box-shadow: 0 0 0 3px rgba(212, 20, 90, 0.18);
}
.fortune-wheel__field--icon-phone {
  position: relative;
}
.fortune-wheel__field--icon-phone::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.6;
  background: currentColor;
  color: var(--color-primary, #D4145A);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 4h3l1.2 3.2-1.6 1.2a12 12 0 0 0 5.2 5.2l1.2-1.6L18.8 14v3a1.5 1.5 0 0 1-1.6 1.5C9.8 18.5 5.5 14.2 5 6.1A1.5 1.5 0 0 1 6.5 4Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.5 4h3l1.2 3.2-1.6 1.2a12 12 0 0 0 5.2 5.2l1.2-1.6L18.8 14v3a1.5 1.5 0 0 1-1.6 1.5C9.8 18.5 5.5 14.2 5 6.1A1.5 1.5 0 0 1 6.5 4Z' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fortune-wheel__submit {
  width: 100%;
  max-width: 340px;
  margin-top: 2px;
  padding: 15px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary, #D4145A) 0%, #B8104C 100%);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 12px 28px rgba(212, 20, 90, 0.38);
}
.fortune-wheel__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(212, 20, 90, 0.45);
  background: linear-gradient(135deg, #E01862 0%, var(--color-primary, #D4145A) 100%);
}
.fortune-wheel__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.fortune-wheel__submit--secondary {
  background: #fff;
  color: var(--color-primary, #D4145A);
  border: 1px solid rgba(212, 20, 90, 0.3);
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.fortune-wheel__consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 0;
  max-width: 340px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6a5d68;
  cursor: pointer;
  text-align: left;
}
.fortune-wheel__consent a {
  color: var(--color-primary, #D4145A);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fortune-wheel__consent a:hover { color: #B8104C; }
.fortune-wheel__consent input { margin-top: 2px; accent-color: var(--color-primary, #D4145A); flex-shrink: 0; }
.fortune-wheel__status {
  font-size: 0.85rem;
  line-height: 1.4;
}
.fortune-wheel__status.is-error { color: #b42318; }
.fortune-wheel__status.is-warn { color: #8a5a00; }
.fortune-wheel__layout[hidden],
.fortune-wheel__dialog.is-success .fortune-wheel__layout {
  display: none !important;
}
.fortune-wheel__dialog.is-success {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: min(100%, 440px);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  background-image: none;
  background-color: #fff;
}
.fortune-wheel__dialog.is-success::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(248, 215, 227, 0.35) 0%, transparent 70%);
}
.fortune-wheel__dialog.is-success .fortune-wheel__topbar {
  opacity: 0;
  pointer-events: none;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.fortune-wheel__success-full {
  position: relative;
  z-index: 2;
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(40px, 8vh, 64px) clamp(24px, 5vw, 40px) clamp(48px, 9vh, 72px);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fortune-wheel__dialog.is-success .fortune-wheel__success-full {
  display: flex;
}
.fortune-wheel__success-full[hidden] {
  display: none !important;
}
.fortune-wheel__success-full.is-visible {
  opacity: 1;
  transform: none;
}
.fortune-wheel__success-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #E01862 0%, #D4145A 45%, #B8104C 100%);
  box-shadow:
    0 8px 28px rgba(212, 20, 90, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.fortune-wheel__success-badge svg {
  display: block;
  width: 34px;
  height: 34px;
}
.fortune-wheel__success-title {
  margin: 0 0 22px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary, #D4145A);
}
.fortune-wheel__prize-box {
  position: relative;
  display: inline-block;
  margin: 0 0 22px;
  padding: 14px 36px;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(212, 20, 90, 0.1);
}
.fortune-wheel__prize-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #E01862 0%, #D4145A 50%, #F0A0C0 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.fortune-wheel__success-lead {
  margin: 0 0 28px;
  max-width: 360px;
  font-family: var(--font-body, 'Manrope', sans-serif);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #8a7d88;
}
.fortune-wheel__success-full .fortune-wheel__submit {
  max-width: 220px;
  letter-spacing: 0.04em;
}
.fortune-confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 1300;
  pointer-events: none;
}
body.is-fortune-open { overflow: hidden; }
@media (max-width: 860px) {
  .fortune-wheel {
    padding: max(8px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  }
  .fortune-wheel__dialog {
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }
  .fortune-wheel__dialog {
    background-position: center 28%;
  }
  .fortune-wheel__dialog:not(.is-success)::before {
    display: block;
    background:
      linear-gradient(
        180deg,
        rgba(250, 247, 244, 0.35) 0%,
        rgba(248, 242, 237, 0.5) 45%,
        rgba(245, 238, 232, 0.45) 70%,
        rgba(245, 238, 232, 0.15) 100%
      );
  }
  .fortune-wheel__dialog.is-success {
    width: min(100%, 400px);
    max-height: none;
  }
  .fortune-wheel__form-col::before { display: none; }
  .fortune-wheel__wheel-col::before { display: none; }
  .fortune-wheel__face-col { display: none; }
  .fortune-wheel__layout {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 16px max(40px, env(safe-area-inset-bottom, 0px));
    min-height: auto;
  }
  .fortune-wheel__wheel-col { padding: 8px 0 4px; }
  .fortune-wheel__wheel-wrap { width: min(78vw, 320px); margin-inline: auto; }
  .fortune-wheel__form-col {
    padding: 8px 0 0;
    margin-left: 0;
    justify-content: center;
    justify-self: center;
  }
  .fortune-wheel__panel { max-width: min(100%, 400px); margin-inline: auto; }
  .fortune-wheel__field,
  .fortune-wheel__submit,
  .fortune-wheel__consent { max-width: 100%; }
  .fortune-wheel__lead { max-width: none; }
}
@media (max-width: 480px) {
  .fortune-wheel__topbar { padding: 14px 14px 0; }
  .fortune-wheel__close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .fortune-wheel__layout { padding: 0 12px max(36px, env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .fortune-wheel__wheel-wrap { width: min(84vw, 280px); }
  .fortune-wheel__panel {
    max-width: 100%;
    padding: 12px 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .fortune-wheel__title { font-size: clamp(1rem, 4vw, 1.15rem); }
  .fortune-wheel__success-full { padding: 36px 20px 44px; }
  .fortune-wheel__prize-box { padding: 12px 24px; }
}

/* Fortune gift tab launcher (bottom-left) */
.fortune-gift-tab {
  position: fixed;
  left: max(24px, env(safe-area-inset-left, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fortune-gift-tab);
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform-origin: center bottom;
  transition: transform 0.25s var(--easing), filter 0.25s var(--easing);
}
.fortune-gift-tab__img {
  display: block;
  width: 100px;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 4px 14px rgba(212, 20, 90, 0.42)) drop-shadow(0 8px 22px rgba(212, 20, 90, 0.22)) drop-shadow(0 2px 6px rgba(42, 31, 26, 0.16));
  transition: transform 0.25s var(--easing), filter 0.25s var(--easing);
}
.fortune-gift-tab:hover .fortune-gift-tab__img,
.fortune-gift-tab:focus-visible .fortune-gift-tab__img {
  transform: scale(1.06);
  filter: drop-shadow(0 6px 20px rgba(212, 20, 90, 0.55)) drop-shadow(0 12px 28px rgba(212, 20, 90, 0.28)) drop-shadow(0 4px 10px rgba(42, 31, 26, 0.2));
}
.fortune-gift-tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 12px;
}
.fortune-gift-tab.is-modal-open .fortune-gift-tab__img {
  transform: scale(0.9);
  opacity: 0.82;
}
body:has(.cookie-banner:not([hidden])) .fortune-gift-tab {
  bottom: max(100px, calc(76px + env(safe-area-inset-bottom, 0px)));
}
@media (max-width: 480px) {
  .fortune-gift-tab {
    left: max(16px, env(safe-area-inset-left, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .fortune-gift-tab__img {
    width: 72px;
  }
  body:has(.cookie-banner:not([hidden])) .fortune-gift-tab {
    bottom: max(92px, calc(68px + env(safe-area-inset-bottom, 0px)));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .fortune-gift-tab {
    animation: fortune-gift-idle 7s ease-in-out infinite;
    animation-delay: 1.2s;
  }
  @keyframes fortune-gift-idle {
    0%, 86%, 100% { transform: rotate(0deg) scale(1); }
    88% { transform: rotate(-5deg) scale(1.04); }
    90% { transform: rotate(5deg) scale(1.06); }
    92% { transform: rotate(-4deg) scale(1.05); }
    94% { transform: rotate(4deg) scale(1.03); }
    96% { transform: rotate(-2deg) scale(1.02); }
    98% { transform: rotate(0deg) scale(1); }
  }
  .fortune-gift-tab.is-launching {
    animation: fortune-gift-launch 0.42s var(--easing) forwards;
  }
  @keyframes fortune-gift-launch {
    0% { transform: scale(1) rotate(0deg); }
    35% { transform: scale(1.14) rotate(-8deg); }
    70% { transform: scale(0.92) rotate(4deg); }
    100% { transform: scale(0.88) rotate(0deg); }
  }
  .fortune-gift-tab.is-celebrate {
    animation: fortune-gift-celebrate 0.82s var(--easing);
  }
  @keyframes fortune-gift-celebrate {
    0% { transform: scale(0.88); }
    30% { transform: scale(1.12) rotate(-6deg); }
    55% { transform: scale(1.06) rotate(5deg); }
    75% { transform: scale(1.02) rotate(-2deg); }
    100% { transform: scale(1) rotate(0deg); }
  }
  .fortune-gift-tab:hover,
  .fortune-gift-tab.is-modal-open {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fortune-gift-tab { animation: none !important; }
}
