/* TPHAIRSALON — vanity mirror
   black, rose gold, cream, bulb light */

:root { --night: #0f1312; --night2: #161e1c; --rose: #3ca48a; --rose2: #2fcba9; --cream: #e7f8f6; --cream2: #ceecea; --bulb: #c7f1ff; --mute: #5d726b; }

html { scroll-behavior: auto; }
body { overflow-x: hidden; }
main > section, footer { overflow-x: clip; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--rose); color: #ffffff; padding: 8px 14px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.disp { font-family: "Bodoni Moda", Georgia, serif; font-weight: 400; }

/* vanity mirror bulb frame: ring of dots in the padding */
.bulbs { padding: 28px; border-radius: 46px; background-color: #060a07;
  background-image: radial-gradient(circle at center, var(--bulb) 0 5px, rgba(199, 241, 255,.25) 6px, transparent 11px);
  background-size: 28px 28px; background-position: 0 0; animation: glow 3.4s ease-in-out infinite; }
.bulbs__in { background: var(--night2); border-radius: 22px; }
.bulbs--rose { background-color: #0e150f; }
@keyframes glow { 50% { filter: brightness(1.28); } }

/* barber-pole stripe */
.pole { height: 14px; background: repeating-linear-gradient(-45deg, var(--rose) 0 14px, var(--cream) 14px 28px, var(--night) 28px 42px, var(--cream) 42px 56px); }
.pole--thin { height: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13.5px; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 10px 2px rgba(199, 241, 255,.6); }
.eyebrow--dark i { background: var(--rose); box-shadow: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font-weight: 700; font-size: 14.5px; letter-spacing: .18em; text-transform: uppercase; padding: 16px 32px 15px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.btn--rose { background: linear-gradient(135deg, var(--rose2), var(--rose)); color: var(--night); box-shadow: 0 8px 22px -8px rgba(60, 164, 138,.7); }
.btn--rose:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(60, 164, 138,.9); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--rose2); color: var(--rose2); }
.btn--line:hover { background: var(--rose2); color: var(--night); }
.btn--dline { box-shadow: inset 0 0 0 1.5px var(--night); }
.btn--dline:hover { background: var(--night); color: var(--cream); }
.btn--sm { padding: 10px 22px 9px; font-size: 12.5px; }
.btn__arrow { width: 18px; height: 10px; position: relative; display: inline-block; transition: transform .2s; }
.btn__arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.btn__arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.nl { font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(231, 248, 246,.8); padding: 6px 0; position: relative; transition: color .2s; }
.nl::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bulb); box-shadow: 0 0 8px var(--bulb); opacity: 0; transform: scale(.3); transition: opacity .2s, transform .2s; }
.nl:hover { color: #ffffff; } .nl:hover::after { opacity: 1; transform: none; }

/* ---------- appointment slots ---------- */
.slot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border-radius: 999px; border: 1.5px solid rgba(231, 248, 246,.3); font-weight: 700; font-size: 16px; letter-spacing: .06em; color: rgba(231, 248, 246,.55); }
.slot--on { background: linear-gradient(135deg, var(--rose2), var(--rose)); border-color: transparent; color: var(--night); animation: pop .5s ease both; animation-delay: var(--d, .4s); }
.slot--off { border-style: dashed; animation: blinkslot 2.4s ease-in-out infinite; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes blinkslot { 50% { border-color: var(--bulb); color: var(--bulb); } }

/* ---------- arch service cards ---------- */
.arch { position: relative; background: #ffffff; border: 2px solid var(--rose); border-radius: 999px 999px 22px 22px; padding-top: 74px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.arch:hover { transform: translateY(-6px); box-shadow: 0 22px 34px -22px rgba(60, 164, 138,.9); }
.arch[data-reveal].is-visible { transition: opacity .6s ease var(--reveal-delay, 0ms), transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.arch__no { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--bulb); font-family: "Bodoni Moda", serif; font-size: 22px; box-shadow: 0 0 0 4px var(--cream2); }
.tag { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border: 1.5px solid var(--rose); color: #357665; border-radius: 999px; }

/* ---------- process: hand mirrors ---------- */
.hand { position: relative; width: 132px; height: 132px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffffff, var(--cream2) 62%); border: 8px solid var(--rose); box-shadow: 0 0 0 3px var(--night), 0 16px 26px -14px rgba(0, 0, 0,.5); display: grid; place-items: center; }
.hand::after { content: ""; position: absolute; left: 50%; top: 100%; width: 16px; height: 46px; margin-left: -8px; background: linear-gradient(90deg, var(--rose), var(--rose2), var(--rose)); border-radius: 0 0 8px 8px; box-shadow: 0 0 0 3px var(--night); display: none; }
.hlink { position: absolute; left: 16.6%; right: 16.6%; top: 66px; border-top: 3px dotted var(--rose); }

/* ---------- testimonial ---------- */
.quote { position: relative; background: var(--night2); color: var(--cream); border-radius: 22px; }
.quote::before { content: "“"; position: absolute; right: 22px; top: -6px; font-family: "Bodoni Moda", serif; font-size: 100px; line-height: 1; color: var(--rose); opacity: .85; }
.stars { color: var(--bulb); letter-spacing: 3px; text-shadow: 0 0 10px rgba(199, 241, 255,.5); }

/* ---------- FAQ ---------- */
.faq-item { background: #ffffff; border: 1.5px solid rgba(60, 164, 138,.5); border-radius: 22px; margin-bottom: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[data-state="open"] { border-color: var(--rose); box-shadow: 0 14px 26px -20px rgba(60, 164, 138,.9); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; padding: 20px 24px; cursor: pointer; }
.faq-trigger:hover .faq-q { color: #357665; }
.faq-x { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--night); transition: transform .3s, background .2s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: var(--bulb); transition: transform .3s; }
.faq-x::after { transform: rotate(90deg); }
.faq-item[data-state="open"] .faq-x { background: var(--rose); }
.faq-item[data-state="open"] .faq-x::after { transform: rotate(0); }
.faq-item[data-state="open"] .faq-x::before { background: var(--night); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-body > * { overflow: hidden; min-height: 0; }
.faq-item[data-state="open"] .faq-body { grid-template-rows: 1fr; }

/* ---------- form ---------- */
.fieldbox { display: block; background: rgba(231, 248, 246,.06); border: 1.5px solid rgba(231, 248, 246,.25); border-radius: 14px; padding: 9px 16px 6px; transition: border-color .2s, background .2s; }
.fieldbox:focus-within { border-color: var(--bulb); background: rgba(231, 248, 246,.1); }
.lbl { display: block; font-weight: 700; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose2); }
.field { width: 100%; background: transparent; border: 0; outline: 0; font-size: 18px; padding: 5px 0; color: #ffffff; font-family: "Jost", sans-serif; }
.field option { color: #0f1312; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fieldbox--sel { position: relative; }
.fieldbox--sel::after { content: ""; position: absolute; right: 18px; bottom: 19px; width: 8px; height: 8px; border-right: 2px solid var(--rose2); border-bottom: 2px solid var(--rose2); transform: rotate(45deg); pointer-events: none; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--night); color: var(--cream); border: 1.5px solid var(--bulb); border-radius: 999px; padding: 13px 26px; font-weight: 700; font-size: 15.5px; max-width: calc(100vw - 32px); transition: opacity .3s, transform .3s; box-shadow: 0 0 26px -6px var(--bulb); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast__msg::before { content: "✦ "; color: var(--bulb); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bulbs, .slot--on, .slot--off { animation: none; }
}
