/* Home hero */
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--blush);
  padding: calc(var(--banner-h) + var(--nav-h) + 0.75rem) 0 var(--space-12);
}

@media (min-width: 1024px) {
  .home-hero {
    padding: calc(var(--banner-h) + var(--nav-h) + 5rem) 0 var(--space-32);
  }
}

.hero-blur {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blur-1 {
  width: 48rem;
  height: 48rem;
  background: rgba(251, 207, 232, 0.45);
  top: 0;
  inset-inline-end: 0;
  transform: translate(25%, -25%);
}

.hero-blur-2 {
  width: 36rem;
  height: 36rem;
  background: rgba(252, 231, 240, 0.7);
  bottom: 0;
  inset-inline-start: 0;
  transform: translate(-25%, 25%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy {
  order: 2;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .hero-copy {
    order: 1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(252, 231, 240, 0.7);
  border: 1px solid var(--pink-100);
  color: #be185d;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.home-hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 var(--space-6);
  color: var(--slate-900);
}

.home-hero h1 .grad {
  background: linear-gradient(90deg, var(--pink), var(--pink-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--slate-500);
  max-width: 28rem;
  margin: 0 0 var(--space-8);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  order: 1;
}

@media (min-width: 1024px) {
  .hero-portrait-wrap {
    order: 2;
  }
}

.hero-portrait {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 36rem);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--pink-100);
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 1024px) {
  .hero-portrait {
    max-width: 32rem;
    max-height: none;
    border-radius: var(--radius-2xl);
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Instagram-style story progress */
.story-progress {
  position: absolute;
  top: 0.85rem;
  inset-inline: 0.85rem;
  z-index: 5;
  display: flex;
  gap: 0.3rem;
}

.story-bar {
  flex: 1;
  height: 0.18rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
}

.story-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
}

.story-bar.is-done span {
  transform: scaleX(1);
}

.story-bar.is-active span {
  animation: storyFill var(--story-ms, 5000ms) linear forwards;
}

.story-bar.is-paused span {
  animation-play-state: paused;
}

@keyframes storyFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.story-hit {
  position: absolute;
  top: 2.5rem;
  bottom: 3.25rem;
  width: 42%;
  z-index: 4;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.story-hit-prev {
  inset-inline-start: 0;
}

.story-hit-next {
  inset-inline-end: 0;
}

.hero-float {
  position: absolute;
  inset-inline-start: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  z-index: 6;
  pointer-events: none;
  max-width: calc(100% - 1.7rem);
}

.hero-float strong {
  display: block;
  color: var(--slate-900);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 0.08rem;
}

.hero-stars .icon {
  width: 0.7rem;
  height: 0.7rem;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hero-float {
    inset-inline-start: 1.25rem;
    bottom: 1.25rem;
    padding: 0.5rem 0.85rem;
  }

  .hero-float strong {
    font-size: 0.8125rem;
  }
}

.hero-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  background: rgba(249, 168, 212, 0.45);
  filter: blur(60px);
  inset-inline-end: -2rem;
  top: 40%;
  z-index: -1;
}

/* Book band */
.book-band {
  position: relative;
  overflow: hidden;
  background: var(--pink);
  color: var(--white);
  text-align: center;
  padding: var(--space-24) var(--space-6);
}

.book-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

.book-band-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

.book-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 var(--space-4);
}

.book-band p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin: 0 auto var(--space-8);
  max-width: 28rem;
}

.book-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.amenity-chips span {
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Service detail */
.service-detail-hero {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .service-detail-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.service-detail-media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--blush);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body .from-price {
  font-size: 1.125rem;
  color: var(--pink);
  font-weight: 600;
  margin: var(--space-4) 0;
}

.feature-list {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9rem;
  color: var(--slate-600);
}

.feature-list .icon {
  color: var(--pink);
  margin-top: 0.15rem;
}

/* Account */
.account-layout {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .account-layout {
    grid-template-columns: 16rem 1fr;
  }
}

.account-side {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.account-side h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.25rem;
}

.account-side p {
  margin: 0 0 var(--space-5);
  font-size: 0.875rem;
}

.appt-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.appt-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.appt-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.125rem;
}

.appt-card .meta {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}

.appt-empty {
  text-align: center;
  padding: var(--space-12);
  background: var(--blush);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--pink-100);
}

/* Journal */
.journal-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-100);
  background: var(--white);
  transition: box-shadow var(--ease), transform var(--ease);
}

.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.journal-card img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.journal-card-body {
  padding: var(--space-6);
}

.journal-card-body .date {
  font-size: 0.75rem;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journal-card-body h3 {
  margin: var(--space-2) 0;
  font-size: 1.35rem;
}

.journal-card-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.article-prose {
  max-width: 42rem;
  margin: 0 auto;
}

.article-prose p {
  margin: 0 0 var(--space-5);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--slate-600);
  line-height: 1.8;
}

.article-prose h2 {
  margin: var(--space-10) 0 var(--space-4);
  font-size: 1.75rem;
}

.article-cover {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-10);
  aspect-ratio: 16 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-info-card {
  background: var(--blush);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--pink-100);
}

.contact-info-card h3 {
  margin: 0 0 var(--space-4);
}

.contact-info-card p {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 0 var(--space-16);
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--pink);
  margin: 0 0 var(--space-4);
}

.error-page p {
  margin: 0 auto var(--space-8);
  max-width: 24rem;
}

/* Legal */
.legal-prose {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-prose h2 {
  font-size: 1.35rem;
  margin: var(--space-8) 0 var(--space-3);
}

.legal-prose p,
.legal-prose li {
  font-size: 0.95rem;
  color: var(--slate-600);
  font-weight: 300;
  line-height: 1.7;
}

.legal-prose ul {
  padding-inline-start: 1.25rem;
}
