:root {
  --bg: #f7f7f7;
  --bg-soft: #efefef;
  --white: #ffffff;
  --lavender: #a38ab9;
  --lavender-deep: #7f6796;
  --lavender-muted: #d1c0de;
  --beige: #e8ddd0;
  --beige-deep: #b69d86;
  --text: #7a6658;
  --text-soft: #957a6c;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-pill: 0;
  --shadow-soft: 0 18px 40px rgba(74, 63, 92, 0.08);
  --header-h: 62px;
  --font: "Assistant", Arial, sans-serif;
  --font-display: "Assistant", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: 96px;
}

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

a {
  color: var(--lavender-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--lavender);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(247, 247, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 184, 219, 0.35);
}

.site-header__bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: var(--header-h);
  padding-inline: 16px;
}

.nav-toggle {
  grid-column: 1;
  justify-self: start;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo {
  grid-column: 2;
  justify-self: center;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  display: block;
  width: auto;
  max-width: min(200px, 58vw);
  height: 48px;
  object-fit: contain;
}

.header-phone {
  grid-column: 3;
  justify-self: end;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
}

.header-phone svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: 0;
  background: #fff;
  padding: 12px 16px;
  z-index: 200;
  border-bottom: 1px solid rgba(201, 184, 219, 0.3);
  box-shadow: 0 12px 32px rgba(74, 63, 92, 0.14);
  animation: navSlideDown 0.2s ease;
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-nav[hidden] {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--bg-soft);
  color: var(--lavender-deep);
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 20px 32px;
}

.hero {
  text-align: center;
  padding-top: 0;
}

.hero__bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: -16px;
  margin-bottom: 20px;
}

.hero__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.hero__ig-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero__ig-badge:hover {
  color: var(--lavender-deep);
}

.icon {
  width: 1.1em;
  height: 1.1em;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(2rem, 7.2vw, 2.7rem);
  font-weight: 700;
  color: #b5a392;
  margin: 0 0 14px;
  line-height: 1.22;
}

.hero__title-accent {
  color: var(--lavender-deep);
}

.hero__title::after,
.section__title::after,
.service-card__title::after,
.banner-cta__kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 0;
  background: var(--lavender-muted);
}

.service-card__title::after {
  margin-inline: 0 auto;
}

.hero__lead {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34ch;
  margin-inline: auto;
}

.hero__lead--strong {
  margin-top: 10px;
  color: var(--lavender-deep);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #b39cc8 0%, #8a739f 52%, #7a658f 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(106, 79, 133, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(106, 79, 133, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: saturate(1.05);
  color: var(--white);
}

.btn--wide {
  width: 100%;
  max-width: 320px;
}

.btn--on-dark {
  background: linear-gradient(180deg, #ffffff 0%, #f5eee6 100%);
  color: var(--lavender-deep);
  border: 1px solid rgba(201, 184, 219, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.btn--on-dark:hover {
  color: var(--lavender-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.fine-print {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  opacity: 0.9;
}

.section {
  margin-top: 40px;
}

.section--soft {
  background: var(--bg-soft);
  margin-inline: -20px;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 184, 219, 0.25);
}

.section--full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-radius: 0;
}

.section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lavender-deep);
  text-align: center;
  margin: 0 0 10px;
}

.section__subtitle {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0 0 22px;
  max-width: 38ch;
  margin-inline: auto;
}

.clinic-section {
  text-align: center;
}

.clinic-video-wrap {
  margin-top: 14px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 184, 219, 0.4);
  box-shadow: 0 12px 28px rgba(74, 63, 92, 0.14);
}

.clinic-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

#focus {
  background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%);
  margin-inline: -20px;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 184, 219, 0.35);
}

.section__foot {
  text-align: center;
  margin-top: 20px;
}

.about-layout {
  display: grid;
  gap: 18px;
}

.about-photo-wrap {
  margin: 0;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(201, 184, 219, 0.4);
  box-shadow: 0 12px 28px rgba(74, 63, 92, 0.14);
}

.about-photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 61%;
  border-radius: 0;
}

@media (min-width: 600px) {
  .about-photo {
    height: 340px;
  }
}

.about-content {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(201, 184, 219, 0.3);
  border-radius: 0;
  padding: 16px 14px;
}

.prose p {
  margin: 0 0 1em;
  text-align: right;
  color: var(--text);
  font-size: 0.98rem;
}

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

.about-toggle {
  display: flex;
  width: fit-content;
  margin: 12px auto 0;
  padding: 10px 20px;
  border: 1px solid rgba(122, 95, 150, 0.3);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffffff 0%, #f6efe7 100%);
  color: var(--lavender-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(106, 79, 133, 0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 95, 150, 0.45);
  box-shadow: 0 12px 24px rgba(106, 79, 133, 0.18);
}

.stats-bar {
  margin: 18px -20px 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f4ece3 100%);
  border-top: 1px solid rgba(182, 157, 134, 0.25);
  border-bottom: 1px solid rgba(182, 157, 134, 0.25);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 184, 219, 0.35);
  border-radius: 0;
  padding: 12px 8px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(74, 63, 92, 0.08);
}

.stat-card__value {
  margin: 0;
  color: var(--lavender-deep);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat-card__label {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.focus-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f3ee 100%);
  border: 1px solid rgba(201, 184, 219, 0.4);
  border-radius: 0;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(74, 63, 92, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.focus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(74, 63, 92, 0.14);
}

.focus-card__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  display: block;
  color: var(--lavender-deep);
}

.focus-card__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 20px 20px 20px;
  border: 1px solid rgba(235, 227, 216, 0.9);
  box-shadow: var(--shadow-soft);
}

.process-flow {
  position: relative;
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  inset-inline-start: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--lavender-muted) 0%, rgba(177, 153, 200, 0.35) 100%);
  border-radius: 0;
}

.service-card__step {
  position: absolute;
  inset-inline-start: 12px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-deep) 100%);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(106, 79, 133, 0.3);
  z-index: 1;
}

.service-card__media {
  height: 120px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.placeholder {
  background: linear-gradient(120deg, #bdb8c0 0%, #8f8a93 50%, #aaa5ad 100%);
}

.service-card__title {
  margin: 0 0 10px;
  padding-inline-start: 42px;
  font-size: 1.1rem;
  color: var(--lavender-deep);
  text-align: right;
}

.service-card__text {
  margin: 0 0 14px;
  padding-inline-start: 42px;
  font-size: 0.92rem;
  color: var(--text-soft);
  text-align: right;
}

.tag {
  display: inline-block;
  background: var(--beige);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.service-card .tag {
  display: inline-flex;
  margin-inline-start: 42px;
}

#services .btn {
  margin-top: 8px;
  display: flex;
  margin-inline: auto;
}

.social-section {
  text-align: center;
}

.social-section .section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-section .section__title::after {
  flex-basis: 100%;
}

.social-section__ig-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.social-reel {
  display: block;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 184, 219, 0.4);
  box-shadow: 0 8px 18px rgba(74, 63, 92, 0.1);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-reel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(74, 63, 92, 0.18);
}

.social-reel video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.social-section__btn {
  margin-top: 14px;
}

.reviews-carousel {
  margin-top: 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews-track {
  display: flex;
  direction: ltr;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.review-slide {
  flex-grow: 0;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(201, 184, 219, 0.45);
  box-shadow: 0 6px 22px rgba(74, 63, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.review-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.reviews-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--beige-deep);
  opacity: 0.3;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.reviews-dots button.is-active {
  opacity: 1;
  transform: scale(1.3);
  background: var(--lavender-deep);
}

.banner-cta {
  margin: 40px -20px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--lavender-deep) 0%, #6d5949 100%);
  box-shadow: var(--shadow-soft);
}

.banner-cta__inner {
  padding: 28px 24px 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

.banner-cta__kicker {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.15rem;
}

.banner-cta__text {
  margin: 0 0 20px;
  font-size: 0.95rem;
  opacity: 0.95;
  max-width: 34ch;
  margin-inline: auto;
}

.contact-section {
  margin-inline: -20px;
  padding: 38px 20px 42px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 93, 77, 0.12);
  text-align: center;
}

.contact-panel {
  max-width: min(100%, 22rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.contact-section__title {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.01em;
}

.contact-hours-line {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #111;
  font-weight: 400;
}

.contact-location {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #111;
  font-weight: 400;
}

.contact-phone {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #111;
  font-weight: 700;
}

.contact-phone__link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.contact-phone__link:hover {
  color: var(--lavender-deep);
  text-decoration: underline;
}

.contact-disclaimer {
  margin: 14px 0 0;
  padding: 0 8px;
  max-width: 28ch;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #111;
  font-weight: 400;
}

.contact-wa-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b39cc8 0%, #8a739f 52%, #7a658f 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(106, 79, 133, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-wa-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(106, 79, 133, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: saturate(1.05);
}

.contact-wa-btn:focus-visible {
  outline: 2px solid var(--lavender-deep);
  outline-offset: 3px;
}

.site-footer {
  text-align: center;
  padding: 28px 16px 100px;
  font-size: 0.82rem;
  color: var(--text-soft);
  border-top: 1px solid var(--beige);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--lavender-deep);
  text-decoration: underline;
}

.footer-sep {
  color: var(--beige-deep);
  opacity: 0.5;
}

.fab-stack {
  position: fixed;
  bottom: 88px;
  right: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(58, 48, 72, 0.25);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.fab:hover {
  transform: scale(1.05);
}

.fab svg {
  width: 26px;
  height: 26px;
}

.fab--wa {
  background: linear-gradient(135deg, #8a739f 0%, #6d5949 100%);
  color: #fff;
}

.fab--ig {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}

.fab--a11y {
  position: fixed;
  bottom: 88px;
  left: 16px;
  z-index: 120;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #5b7db1 0%, #3d5a80 100%);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(61, 90, 128, 0.35);
  transition: transform 0.15s ease;
}

.fab--a11y:hover {
  transform: scale(1.08);
}

.fab--a11y svg {
  width: 26px;
  height: 26px;
}

.a11y-panel {
  position: fixed;
  bottom: 150px;
  left: 16px;
  z-index: 130;
  width: min(310px, calc(100vw - 32px));
  background: #fff;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(201, 184, 219, 0.35);
  overflow: hidden;
  animation: a11ySlideUp 0.25s ease;
}

@keyframes a11ySlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.a11y-panel[hidden] {
  display: none;
}

.a11y-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #5b7db1 0%, #3d5a80 100%);
  color: #fff;
}

.a11y-panel__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.a11y-panel__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.a11y-panel__body {
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.a11y-row__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.a11y-row__actions {
  display: flex;
  gap: 4px;
}

.a11y-row__actions button {
  width: 36px;
  height: 34px;
  border: 1px solid var(--beige);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.a11y-row__actions button:hover {
  background: var(--lavender-muted);
  border-color: var(--lavender);
}

.a11y-toggle-btn {
  padding: 6px 14px;
  border: 1px solid var(--beige);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.a11y-toggle-btn:hover {
  background: var(--lavender-muted);
  border-color: var(--lavender);
}

.a11y-toggle-btn[aria-pressed="true"] {
  background: var(--lavender-deep);
  color: #fff;
  border-color: var(--lavender-deep);
}

.a11y-row--reset {
  justify-content: center;
  margin-top: 4px;
}

.a11y-reset-btn {
  padding: 8px 24px;
  border: 1px solid #d44;
  border-radius: 0;
  background: #fff;
  color: #d44;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.a11y-reset-btn:hover {
  background: #d44;
  color: #fff;
}

/* Accessibility mode styles */
html.a11y-contrast {
  filter: contrast(1.4);
}

html.a11y-grayscale {
  filter: grayscale(1);
}

html.a11y-contrast.a11y-grayscale {
  filter: contrast(1.4) grayscale(1);
}

html.a11y-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  outline: 2px solid var(--lavender-deep);
  outline-offset: 2px;
}

html.a11y-readable-font {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-readable-font * {
  font-family: inherit !important;
}

.bottom-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--bg);
  border-top: 1px solid rgba(201, 184, 219, 0.3);
  box-shadow: 0 -4px 20px rgba(74, 63, 92, 0.1);
  padding: 10px 20px 12px;
  text-align: center;
  animation: bottomBarUp 0.3s ease;
}

@keyframes bottomBarUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.bottom-cta-bar[hidden] {
  display: none;
}

.bottom-cta-bar__btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #b39cc8 0%, #8a739f 52%, #7a658f 100%);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(106, 79, 133, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bottom-cta-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(106, 79, 133, 0.45);
  color: #fff;
}

.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(25, 19, 31, 0.28);
}

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

.offer-popup__card {
  width: min(460px, 100%);
  background: linear-gradient(180deg, #fff 0%, #f5eee7 100%);
  border: 1px solid rgba(201, 184, 219, 0.4);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(56, 44, 69, 0.28);
  padding: 18px 16px 14px;
  position: relative;
}

.offer-popup__close {
  position: absolute;
  top: 8px;
  inset-inline-end: 10px;
  border: none;
  background: transparent;
  color: #6c5a7f;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.offer-popup__text {
  margin: 0 0 12px;
  padding-inline-end: 18px;
  color: var(--text);
  font-size: 0.98rem;
  text-align: right;
}

.offer-popup__cta {
  width: 100%;
  max-width: none;
}

@media (min-width: 600px) {
  main {
    max-width: 520px;
  }

  .stats-bar {
    gap: 14px;
    padding-inline: 26px;
  }

  .fab-stack {
    bottom: 32px;
    right: 24px;
  }

  .fab--a11y {
    bottom: 32px;
    left: 24px;
  }

  .a11y-panel {
    bottom: 94px;
    left: 24px;
  }
}
