/* ===================== Nails by Avy — bespoke booking site ===================== */

:root {
  --ink: #3a2416;
  --ink-dim: #8a7060;
  --bg: #fffaf5;
  --bg-2: #fff1e3;
  --bg-3: #ffe6d0;
  --gold: #ff8a3d;
  --pink: #ff5fa2;
  --teal: #ffb37a;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(255, 138, 61, 0.32);
  --shadow: 0 20px 50px rgba(255, 95, 162, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: default;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-weight: 700;
}

.eyebrow {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

.holo {
  background: linear-gradient(100deg, var(--gold), var(--pink) 35%, var(--teal) 65%, var(--gold));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holoShift 8s ease-in-out infinite;
}
@keyframes holoShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- background ambience ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  mix-blend-mode: multiply;
}
.blob-1 { width: 480px; height: 480px; background: var(--pink); top: -120px; left: -100px; animation: drift1 26s ease-in-out infinite; }
.blob-2 { width: 520px; height: 520px; background: var(--teal); bottom: -180px; right: -140px; animation: drift2 32s ease-in-out infinite; }
.blob-3 { width: 380px; height: 380px; background: var(--gold); top: 40%; left: 50%; animation: drift3 22s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-70px, -50px); } }
@keyframes drift3 { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -70px); } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 2; }

/* ---------- custom cursor ---------- */
#gem-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--gold), var(--pink), var(--teal), var(--gold));
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s;
  box-shadow: 0 0 18px rgba(255, 95, 162, 0.45);
  opacity: 0;
}
#gem-cursor.active { opacity: 1; }
#gem-cursor.grow { width: 44px; height: 44px; }

/* ---------- nav ---------- */
header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  transition: top .3s var(--ease);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 14px 12px 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), padding .3s var(--ease);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo .script { color: var(--pink); font-size: 1.25rem; margin-left: 2px; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.nav-links a {
  position: relative;
  opacity: 0.85;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  overflow: hidden;
  isolation: isolate;
}
.btn-solid {
  background: linear-gradient(120deg, var(--gold), var(--pink));
  color: #fff;
}
.btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%);
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn-solid:hover::before { transform: translateX(120%); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(220,170,79,0.08); }
.nav-cta { padding: 10px 20px; font-size: 0.8rem; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  nav { gap: 14px; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.98;
  margin: 18px 0 22px;
  letter-spacing: -0.01em;
}
.hero h1 .script {
  display: block;
  font-size: 0.42em;
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  margin-top: 6px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  animation: heroFloat 9s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: scale(1.04) translateY(0); }
  50% { transform: scale(1.04) translateY(-10px); }
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,95,162,0.24), transparent 45%, rgba(255,179,122,0.22));
  mix-blend-mode: overlay;
}
.hero-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 0.78rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.sparkle {
  position: absolute;
  pointer-events: none;
  color: var(--gold);
  opacity: 0.8;
  animation: sparkleFloat 6s ease-in-out infinite;
}
@keyframes sparkleFloat {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: .4; }
  50% { transform: translateY(-18px) rotate(25deg); opacity: 1; }
}

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top;} 50% {transform: scaleY(1); transform-origin: top;} 51% {transform-origin: bottom;} 100% {transform: scaleY(0); transform-origin: bottom;} }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: marqueeScroll 26s linear infinite;
}
.marquee-track span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-track span em {
  font-style: normal;
  color: var(--gold);
  margin-right: 40px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- section shell ---------- */
section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 640px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-top: 14px; }
.section-head p { color: var(--ink-dim); margin-top: 16px; font-size: 1.02rem; }
.index-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--gold);
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.6;
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px dashed var(--border);
  border-radius: 24px;
}
.photo-placeholder .ph-mono {
  font-size: 5rem;
  background: linear-gradient(120deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.photo-placeholder p {
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.about-photo:hover img { transform: scale(1.06); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat b {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  display: block;
  background: linear-gradient(120deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 0.78rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- gallery ---------- */
.gallery-grid {
  columns: 4 260px;
  column-gap: 18px;
}
@media (max-width: 900px) { .gallery-grid { columns: 2 180px; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 16px 14px 12px;
  background: linear-gradient(0deg, rgba(10,6,4,0.88), transparent);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.gallery-item:hover .gallery-cap { transform: translateY(0); }
.gallery-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.gallery-item:hover .gallery-shine { transform: translateX(120%); transition: transform .8s var(--ease); }

/* lightbox */
#lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8,5,4,0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  padding: 40px;
}
#lightbox.open { opacity: 1; pointer-events: auto; }
#lightbox img { max-height: 84vh; max-width: 90vw; border-radius: 14px; box-shadow: var(--shadow); }
#lightbox .lb-close {
  position: absolute; top: 28px; right: 34px;
  font-size: 1.6rem; color: var(--ink);
  background: var(--glass-strong); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
#lightbox .lb-cap {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif; font-style: italic; color: var(--ink-dim);
}

/* ---------- services / pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  padding: 2px;
  border-radius: 20px;
  background: conic-gradient(from var(--ang, 0deg), var(--gold), var(--pink), var(--teal), var(--gold));
  animation: spinBorder 6s linear infinite;
}
@keyframes spinBorder { to { --ang: 360deg; } }
@property --ang {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.price-card-inner {
  background: var(--bg-2);
  border-radius: 18px;
  padding: 28px 22px;
  height: 100%;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-card .amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 10px 0 8px;
  background: linear-gradient(120deg, var(--gold), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card p { color: var(--ink-dim); font-size: 0.85rem; margin: 0; }

.level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .level-grid { grid-template-columns: 1fr; } }
.level-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 26px;
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s;
  position: relative;
  overflow: hidden;
}
.level-card:hover { transform: translateY(-8px); border-color: var(--gold); }
.level-card .lvl-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--gold);
  opacity: 0.5;
}
.level-card h3 { margin: 6px 0 10px; font-size: 1.3rem; }
.level-card p.desc { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 18px; min-height: 48px; }
.level-card .price-range {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--pink);
}
.removal-note {
  margin-top: 40px;
  padding: 22px 26px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--ink-dim);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.removal-note b { color: var(--gold); }

/* ---------- booking ---------- */
.booking-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 900px) { .booking-shell { grid-template-columns: 1fr; } }

.booking-side { position: sticky; top: 130px; }
.booking-side ul { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.booking-side li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-dim); font-size: 0.92rem; }
.booking-side li .n { color: var(--gold); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; }

form#booking-form {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 36px;
  backdrop-filter: blur(16px);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,138,61,0.15);
}
.field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

#booking-result {
  margin-top: 22px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,138,61,0.07);
  display: none;
  gap: 14px;
}
#booking-result.show { display: grid; }
#booking-result .msg-preview {
  font-size: 0.88rem;
  color: var(--ink-dim);
  background: rgba(255,255,255,0.65);
  padding: 14px;
  border-radius: 10px;
  white-space: pre-wrap;
}
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- contact / footer ---------- */
footer {
  padding: 90px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .nav-logo { font-size: 1.6rem; }
.footer-brand p { color: var(--ink-dim); margin-top: 14px; max-width: 32ch; font-size: 0.92rem; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, transform .3s;
}
.social-row a:hover { border-color: var(--gold); transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--ink-dim);
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
