/* ==========================================================================
   nails.css — Untapped Nails brand layer over the shared design system.
   Loads AFTER global.css + page.css. Rose palette, one-pager sections,
   artist picker, and the small responsive fixes from QA.
   ========================================================================== */

:root {
  --accent:        #C2185B;
  --accent-600:    #A31450;
  --accent-700:    #7C0F3E;
  --accent-300:    #E86FA0;
  --accent-ink:    #FFFFFF;
  --accent-soft:   #FBE7F0;
  --accent-soft-2: rgba(194, 24, 91, .10);
  --accent-line:   rgba(194, 24, 91, .26);
  --accent-glow:   rgba(194, 24, 91, .30);
}

/* ------------------------------------------------ QA fix: mobile utility bar */
@media (max-width: 640px) {
  .utility-bar__hours { display: none; }
}

/* ------------------------------------------------------------------- Hero */
.nails-hero {
  position: relative;
  background: linear-gradient(135deg, #E86FA0 0%, #C2185B 55%, #7C0F3E 100%);
  color: #fff;
  overflow: hidden;
}
.nails-hero::before, .nails-hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.nails-hero::before { width: 560px; height: 560px; right: -160px; top: -220px; background: rgba(255,255,255,.08); }
.nails-hero::after  { width: 380px; height: 380px; left: -140px; bottom: -200px; background: rgba(124,15,62,.35); }
/* padding-block only — .container owns the horizontal gutters (a shorthand
   here once zeroed them and the mobile text touched the screen edges) */
.nails-hero__inner { position: relative; z-index: 1; padding-block: 5.2rem 4.6rem; }
.nails-hero__inner > * { max-width: 720px; }
@media (max-width: 640px) {
  .nails-hero__inner { padding-block: 3.6rem 3.4rem; }
  .nails-hero__cta .btn { width: 100%; justify-content: center; }
}
.nails-hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: .4rem .8rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .45rem; }
.nails-hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4rem); margin: 1rem 0 .8rem; }
.nails-hero p.sub { color: rgba(255,255,255,.88); font-size: 1.12rem; line-height: 1.6; max-width: 34em; }
.nails-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.nails-hero .btn-light { background: #fff; color: var(--accent-700); }
.nails-hero .btn-light:hover { background: var(--accent-soft); }
.nails-hero .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.nails-hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.nails-hero__meta { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; margin-top: 2rem; font-size: .92rem; color: rgba(255,255,255,.9); }
.nails-hero__meta .ic { width: 16px; height: 16px; color: #fff; }
.nails-hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }

/* ------------------------------------------------------------- Price grid */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.price-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .3rem;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.price-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-accent); transform: translateY(-2px); }
.price-card h3 { font-size: 1.06rem; margin: 0; }
.price-card .price { font-family: var(--font-num); font-weight: 800; font-size: 1.5rem; color: var(--accent); }
.price-card .price small { font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.price-card p { font-size: .88rem; color: var(--ink-3); margin: 0; line-height: 1.45; }

/* ---------------------------------------------------------- Artist cards */
/* QA fix: auto-fit minmax(240px,1fr) balances the grid 2×2 instead of 3+1 */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.artist-card {
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.3rem 1.35rem; text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.artist-card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.artist-card__avatar {
  width: 76px; height: 76px; margin: 0 auto .85rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--accent-300), var(--accent-700));
}
.artist-card h3 { font-size: 1.12rem; margin: 0 0 .15rem; }
.artist-card .artist-card__spec { color: var(--accent); font-weight: 600; font-size: .88rem; }
.artist-card .artist-card__days { color: var(--ink-3); font-size: .84rem; margin-top: .45rem; }

/* Artist picker inside the wizard — same cards, button semantics */
button.artist-card { cursor: pointer; width: 100%; font: inherit; }
button.artist-card.is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: var(--shadow-accent); }
button.artist-card.is-on .artist-card__days { color: var(--ink-2); }

/* --------------------------------------------------------------- Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* --------------------------------------------------------------- Footer */
.demo-credit { color: var(--ink-inv-3); font-size: .78rem; }
.demo-credit a { color: var(--ink-inv-2); text-decoration: underline; }

/* ------------------------------------------------------- Brand wordmark */
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.nails-wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: .01em; color: var(--ink); white-space: nowrap;
}
.nails-wordmark b { font-weight: 800; color: var(--accent); }

/* ------------------------------------------------- Wizard support bits */
.svc-emoji { font-size: 1.7rem; line-height: 1; display: block; }
.form-layout--center { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }
.artist-grid[data-artist-grid] .artist-card { padding: 1.15rem 1rem 1.05rem; }
.artist-grid[data-artist-grid] .artist-card__avatar { width: 60px; height: 60px; font-size: 1.25rem; }

/* One-pager nav: hide anchor links on small screens; CTA + phone stay */
@media (max-width: 780px) {
  .primary-nav { display: none; }
  .nails-wordmark { font-size: 1.12rem; }
}
