/* LAMÉ Hair Studio — design tokens and components */
:root {
  /* Brand palette */
  --black: #171615;
  --gold: #B59662;
  --ivory: #F3EFE8;
  --taupe: #7B6952;
  --ivory-2: #EAE4D9;
  --zalo: #0068FF;
  --zalo-dark: #0057d6;
  --white: #ffffff;
  --gold-soft: rgba(181, 150, 98, .35);
  --line: rgba(23, 22, 21, .14);
  --line-dark: rgba(243, 239, 232, .18);
  --scrim: linear-gradient(180deg, rgba(23, 22, 21, 0) 45%, rgba(23, 22, 21, .72) 100%);

  /* Type */
  --font-head: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-label: .75rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.05rem, 1.4vw, 1.2rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.75rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.6rem);
  --fs-h1: clamp(2.8rem, 7.2vw, 6rem);
  --track-label: .26em;
  --track-head: .06em;

  /* Layout */
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --section-y: clamp(72px, 10vw, 140px);

  /* Shape and imagery */
  --radius: 0;
  --img-filter: saturate(.92) contrast(1.03);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .7s;
  --dur-fast: .3s;
  --wave: rgba(181, 150, 98, .5);
  --wave-hover: rgba(181, 150, 98, .3);
  --wave-dur: .85s;
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
i[class^="ri-"] { line-height: 1; font-size: 1.15em; vertical-align: middle; }
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--black); color: var(--ivory); }
.section--alt { background: var(--ivory-2); }
.section--taupe { background: var(--taupe); color: var(--ivory); }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: var(--fs-label); font-weight: 400;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--taupe);
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.section--dark .eyebrow { color: var(--gold); }
.section--taupe .eyebrow { color: var(--ivory); }

.h1, .h2, .h3 {
  font-family: var(--font-head); font-weight: 400;
  text-transform: uppercase; letter-spacing: var(--track-head);
}
.h1 { font-size: var(--fs-h1); line-height: 1.12; font-weight: 300; }
.h1--detail { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.h2 { font-size: var(--fs-h2); line-height: 1.2; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; }
.lead { font-size: var(--fs-lead); color: var(--taupe); max-width: 52ch; }
.section--dark .lead, .section--taupe .lead { color: rgba(243, 239, 232, .78); }
.serif-i { font-family: var(--font-head); font-style: italic; text-transform: none; letter-spacing: 0; }
.mt-lg { margin-top: 28px; }
.mt-md { margin-top: 20px; }

/* Wordmark */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wm-main { font-family: var(--font-head); font-weight: 500; font-size: 1.9rem; letter-spacing: .08em; line-height: 1.1; }
.wm-e { position: relative; display: inline-block; }
.wm-e::after {
  content: ''; position: absolute; top: -.02em; left: 52%;
  width: .3em; height: .085em; background: var(--gold);
  transform: rotate(-34deg) skewX(-30deg);
}
.wm-sub { margin-top: 4px; font-size: .55rem; font-weight: 400; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; }

/* Buttons + wave */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 30px;
  border: 1px solid var(--black); border-radius: var(--radius);
  background: var(--black); color: var(--ivory);
  font-family: var(--font-body); font-size: .78rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--taupe); border-color: var(--taupe); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }
.btn--light { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.btn--light:hover { background: var(--black); color: var(--ivory); border-color: var(--black); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .7rem; }
.btn--icon { width: 48px; padding: 0; }
.btn i { transition: transform var(--dur-fast) var(--ease); }
.btn:hover i.ri-arrow-right-line { transform: translateX(4px); }

.ripple {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: var(--wave); transform: translate(-50%, -50%) scale(0);
  animation: ripple var(--wave-dur) var(--ease) forwards;
}
.ripple--hover { background: var(--wave-hover); }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--taupe);
  transition: color var(--dur-fast), gap var(--dur-fast) var(--ease);
}
.link-arrow:hover { color: var(--black); gap: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(243, 239, 232, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(243, 239, 232, .97); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .wm-main { font-size: 1.7rem; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a.nav-link {
  position: relative; padding: 8px 0; font-size: .72rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; color: var(--black);
}
.nav a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav a.nav-link:hover::after, .nav a.nav-link.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 0; background: transparent; font-size: 1.6rem;
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .header-book { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
  }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a.nav-link { display: flex; align-items: center; min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .nav a.nav-link::after { display: none; }
  .nav a.nav-link.is-active { color: var(--taupe); }
  .nav .btn { display: inline-flex; margin-top: 20px; align-self: flex-start; }
}
@media (min-width: 1041px) { .nav .btn.nav-book { display: none; } }

/* Language switcher */
.lang { position: relative; }
.lang-btn { gap: 8px; padding: 0 14px; }
.lang .fi { width: 1.33em; height: 1em; box-shadow: 0 0 0 1px var(--line); flex: none; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; min-width: 210px; margin: 0; padding: 6px;
  background: var(--ivory); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.btn--menu {
  width: 100%; justify-content: flex-start; min-height: 48px; padding: 0 14px;
  background: transparent; border-color: transparent; color: var(--black); letter-spacing: .12em;
}
.btn--menu:hover { background: var(--ivory-2); border-color: transparent; color: var(--black); }
.btn--menu .ri-check-line { margin-left: auto; color: var(--gold); }

/* Media (photography) */
.media { position: relative; overflow: hidden; background: var(--taupe); }
.media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1.4s var(--ease); }
.media::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(181, 150, 98, .5); pointer-events: none; }
.media:hover img { transform: scale(1.05); }
.media-cap {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px 28px 24px;
  background: var(--scrim); color: var(--ivory);
  font-size: .68rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
}

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero-copy .lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-visual { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { aspect-ratio: 4 / 5.4; }
}

/* Section head */
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }

/* Services */
.svc-group { display: grid; gap: 28px; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.svc-group:last-child { border-bottom: 1px solid var(--line); }
.svc-group-head { display: grid; gap: 12px; align-content: start; }
.svc-num { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold); letter-spacing: .2em; }
.svc-group-head p { color: var(--taupe); max-width: 36ch; }
.svc-list { display: grid; }
.svc-row {
  display: grid; gap: 14px 20px; padding-block: 26px; border-top: 1px solid var(--line);
  grid-template-columns: 88px 1fr; align-items: start;
}
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-thumb { width: 88px; aspect-ratio: 1; }
.svc-thumb::after { inset: 6px; }
.svc-name { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.25; letter-spacing: .04em; }
.svc-short { color: var(--taupe); font-size: .95rem; margin-top: 4px; max-width: 54ch; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; grid-column: 2; }
.svc-duration { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.svc-price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; white-space: nowrap; }
.svc-price small { font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin-right: 6px; font-weight: 300; }
.svc-price, .fact dd, .svc-num, .pillar-n, .stat-n { font-variant-numeric: lining-nums; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; grid-column: 2; }
@media (min-width: 900px) {
  .svc-group { grid-template-columns: 4fr 8fr; gap: 56px; }
  .svc-group-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .svc-row { grid-template-columns: 112px 1fr auto; gap: 8px 32px; align-items: center; }
  .svc-thumb { width: 112px; grid-row: span 2; }
  .svc-meta { grid-column: 3; justify-content: flex-end; text-align: right; grid-row: 1; }
  .svc-actions { grid-column: 2 / -1; }
}

/* About */
.about-grid { display: grid; gap: clamp(36px, 6vw, 88px); }
.about-visual { aspect-ratio: 4 / 5; }
.about-statement { font-family: var(--font-head); font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.2; font-weight: 300; letter-spacing: .02em; }
.about-statement em { color: var(--gold); font-style: italic; }
.pillars { display: grid; gap: 0; margin-top: 40px; }
.pillar { display: grid; gap: 8px; padding-block: 28px; border-top: 1px solid var(--line-dark); }
.pillar-n { font-family: var(--font-head); color: var(--gold); letter-spacing: .2em; }
.pillar h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.pillar p { color: rgba(243, 239, 232, .72); max-width: 44ch; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .85fr 1.15fr; align-items: center; } }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery .media { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, 1fr); gap: 18px; }
  .gallery .media { aspect-ratio: auto; }
  .gallery .media:nth-child(1) { grid-column: span 5; aspect-ratio: 4 / 5; }
  .gallery .media:nth-child(2) { grid-column: span 4; aspect-ratio: 3 / 4; margin-top: 64px; }
  .gallery .media:nth-child(3) { grid-column: span 3; aspect-ratio: 3 / 4.6; }
  .gallery .media:nth-child(4) { grid-column: span 3; aspect-ratio: 3 / 4; }
  .gallery .media:nth-child(5) { grid-column: span 5; aspect-ratio: 4 / 5; margin-top: -48px; }
  .gallery .media:nth-child(6) { grid-column: span 4; aspect-ratio: 3 / 4; }
}
.credit-note { margin-top: 28px; font-size: .8rem; color: var(--taupe); }

/* Team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.member { display: grid; gap: 14px; padding: 28px 22px 26px; background: var(--ivory); border: 1px solid var(--line); text-align: center; justify-items: center; }
.monogram {
  width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--gold); border: 1px solid var(--gold);
  font-family: var(--font-head); font-size: 1.9rem; letter-spacing: .06em;
}
.member h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 500; letter-spacing: .04em; line-height: 1.25; }
.member p { color: var(--taupe); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Reviews carousel */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.reviews-head .section-head { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 12px; }
.reviews-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(360px, 84vw); scroll-snap-align: start;
  padding: 34px 30px; background: var(--ivory-2); border: 1px solid var(--line);
  display: grid; gap: 20px; align-content: space-between;
}
.stars { display: flex; gap: 4px; color: var(--gold); }
.review blockquote { margin: 0; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; font-style: italic; }
.review-by { display: grid; gap: 2px; }
.review-by strong { font-weight: 400; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.review-by span { font-size: .8rem; color: var(--taupe); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .container { display: grid; gap: 32px; justify-items: center; }
.cta-band .h2 { max-width: 20ch; }

/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
.contact-list { display: grid; gap: 0; margin-top: 12px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; padding-block: 22px; border-top: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item > i { font-size: 1.4rem; color: var(--gold); margin-top: 2px; }
.ci-l { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.ci-v { margin-top: 4px; }
.ci-v a:hover { color: var(--taupe); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-visual { aspect-ratio: 4 / 3; }
.socials { display: flex; gap: 12px; }
.socials .btn { width: 48px; padding: 0; background: transparent; color: var(--black); border-color: var(--line); font-size: 1.2rem; }
.socials .btn:hover { background: var(--black); color: var(--gold); border-color: var(--black); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Footer */
.site-footer { background: var(--black); color: var(--ivory); padding-block: 64px 32px; }
.footer-grid { display: grid; gap: 36px; }
.footer-grid .wm-main { font-size: 2.2rem; }
.footer-tag { margin-top: 18px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; min-height: 44px; display: inline-flex; align-items: center; color: rgba(243, 239, 232, .78); transition: color var(--dur-fast); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; color: rgba(243, 239, 232, .6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } }

/* Service detail */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding-top: 32px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.crumbs a:hover { color: var(--black); }
.crumbs i { font-size: .9rem; color: var(--gold); }
.detail-hero { display: grid; gap: clamp(28px, 5vw, 64px); padding-block: 36px var(--section-y); }
.detail-visual { aspect-ratio: 4 / 3; }
.detail-info { display: grid; gap: 24px; align-content: start; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding-block: 20px; border-block: 1px solid var(--line); }
.fact dt { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.fact dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.detail-body { display: grid; gap: clamp(36px, 5vw, 64px); padding-bottom: var(--section-y); }
.detail-block h2 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.related { display: grid; gap: 0; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.related a:last-child { border-bottom: 1px solid var(--line); }
.related a:hover { color: var(--taupe); }
.related .svc-name { font-size: 1.4rem; }
.notfound { padding-block: 120px; text-align: center; display: grid; gap: 24px; justify-items: center; }
.book-bar { display: none; }
@media (min-width: 900px) {
  .detail-hero { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .detail-hero .detail-visual { order: 2; aspect-ratio: 4 / 5; }
  .detail-body { grid-template-columns: repeat(2, 1fr); }
  .detail-body .detail-block.wide { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .has-bar .book-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter);
    background: rgba(243, 239, 232, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
  }
  .has-bar { padding-bottom: 76px; }
  .has-bar .scrolltop, .has-bar .zalo-fab { bottom: 92px; }
  .book-bar .svc-name { font-size: 1.3rem; }
}

/* Scroll to top with progress ring */
.scrolltop {
  --p: 0;
  position: fixed; right: 20px; bottom: 24px; z-index: 46;
  width: 54px; height: 54px; min-height: 0; padding: 0; border: 0; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0);
  color: var(--black);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.scrolltop::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ivory); z-index: -2; }
.scrolltop.is-visible { opacity: 1; visibility: visible; transform: none; }
.scrolltop i { font-size: 1.3rem; }
.scrolltop:hover { background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0); color: var(--black); }

/* Zalo call button (rendered only when a phone number exists) */
.zalo-fab { position: fixed; left: 20px; bottom: 24px; z-index: 46; width: 56px; height: 56px; }
.zalo-fab .btn {
  width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 50%;
  background: var(--zalo); color: var(--white); font-size: .78rem; font-weight: 500; letter-spacing: .02em; text-transform: none;
}
.zalo-fab .btn:hover { background: var(--zalo-dark); }
.zalo-fab .btn span { animation: phone-shake 2.6s ease-in-out infinite; }
.zalo-fab::before, .zalo-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--zalo); opacity: 0; animation: call-ring 2.6s var(--ease) infinite;
}
.zalo-fab::after { animation-delay: 1.3s; }
@keyframes call-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes phone-shake {
  0%, 60%, 100% { transform: rotate(0); }
  66% { transform: rotate(-14deg); } 72% { transform: rotate(12deg); }
  78% { transform: rotate(-10deg); } 84% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); }
}

/* Dialog */
.dialog-backdrop {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(23, 22, 21, .6); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity var(--dur-fast) var(--ease);
}
.dialog-backdrop.is-open { opacity: 1; }
.dialog {
  position: relative; width: min(480px, 100%); padding: 44px 36px 36px;
  background: var(--ivory); border: 1px solid var(--gold-soft);
  transform: translateY(16px); transition: transform var(--dur-fast) var(--ease);
}
.dialog-backdrop.is-open .dialog { transform: none; }
.dialog h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
.dialog p { margin-top: 14px; color: var(--taupe); }
.dialog-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--black); font-size: 1.5rem; }
.dialog-close:hover { background: transparent; color: var(--taupe); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reviews-track { scroll-behavior: auto; }
  .ripple { display: none; }
  .reveal { opacity: 1; transform: none; }
  .zalo-fab::before, .zalo-fab::after { display: none; }
}
