/* Tina's Pro Nail Spa — clean OPI pro spa (cream · plum lacquer · soft gold) */
:root {
  --cream: #F6F0E8;
  --cream-deep: #EDE4D8;
  --ink: #2A1F24;
  --ink-soft: #5C4A52;
  --plum: #3D1A28;
  --plum-mid: #5C2A3C;
  --lacquer: #8B2E4A;
  --gold: #C4A574;
  --gold-deep: #A88B55;
  --blush: #F0E4DC;
  --line: rgba(61, 26, 40, 0.12);
  --white: #FFFbf7;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(42, 31, 36, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 4rem;
  --dock-h: 3.75rem;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
body.book-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-mid); }
button, input, select, textarea { font: inherit; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

.eyebrow {
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lacquer);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--plum);
}
h1 { font-size: clamp(2.35rem, 7vw, 3.6rem); margin: 0 0 .85rem; }
h2 { font-size: clamp(1.85rem, 4.5vw, 2.55rem); margin: 0 0 .75rem; }
h3 { font-size: 1.35rem; margin: 0 0 .65rem; color: var(--plum-mid); }

/* Header — sticky Call + Book */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--plum), var(--lacquer));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--plum);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tag {
  font-size: .68rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-desk { display: none; gap: 1.1rem; margin-left: auto; }
.nav-desk a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 500;
}
.nav-desk a:hover { color: var(--plum); }
.nav-vi {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  opacity: .7;
  margin-top: .1rem;
}
.header-actions { display: flex; gap: .45rem; margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .62rem 1.15rem;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: .85rem 1.45rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-plum:hover { background: var(--plum-mid); }
.btn-gold { background: var(--gold); color: var(--plum); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-ghost-sm {
  background: transparent;
  border-color: var(--line);
  color: var(--plum);
  padding: .55rem .95rem;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 251, 247, 0.45);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(255,251,247,.1); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--plum);
}
.btn-outline-dark:hover { border-color: var(--plum); }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: grid;
  align-items: end;
  color: var(--cream);
  background: var(--plum);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(61,26,40,.35) 0%, rgba(61,26,40,.55) 40%, rgba(42,20,28,.92) 100%),
    linear-gradient(90deg, rgba(42,20,28,.55) 0%, transparent 60%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 2.75rem;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--cream); }
.lede {
  max-width: 34rem;
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  color: rgba(246, 240, 232, 0.88);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.hero-meta {
  margin: 0;
  font-size: .82rem;
  color: rgba(246, 240, 232, 0.7);
}

/* Strip */
.strip {
  background: var(--plum);
  color: var(--cream);
  border-top: 1px solid rgba(255,251,247,.08);
}
.strip-grid {
  display: grid;
  gap: 0;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255,251,247,.1);
  text-decoration: none;
  color: inherit;
}
.strip-item:last-child { border-bottom: 0; }
.strip-k {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.strip-v { font-weight: 600; font-size: .95rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-head { max-width: 36rem; margin-bottom: 1.75rem; }
.section-lede { margin: 0; color: var(--ink-soft); }
.about-grid {
  display: grid;
  gap: 1.75rem;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-photo figcaption {
  padding: .7rem 1rem;
  font-size: .8rem;
  color: var(--ink-soft);
  background: var(--white);
}
.about-copy p { color: var(--ink-soft); }
.about-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
}
.about-points li {
  position: relative;
  padding: .45rem 0 .45rem 1.35rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--gold);
}

/* OPI menu board */
.services { background: var(--white); }
.menu-board {
  display: grid;
  gap: 1.25rem;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.15rem 1.5rem;
  box-shadow: var(--shadow);
}
.menu-col h3 {
  font-family: var(--font-display);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .4rem;
  margin-top: 1.1rem;
}
.menu-col:first-child h3:first-child { margin-top: 0; }
.menu-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-col li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: .7rem 0;
  border-bottom: 1px dotted rgba(61, 26, 40, 0.22);
  font-weight: 500;
}
.menu-col li span { flex: 1; }
.menu-col li em {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lacquer);
  font-weight: 700;
}
.menu-note {
  margin: 1.25rem 0 1.5rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.center-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}

/* Gallery */
.gallery-strip {
  padding: 0 0 3rem;
  background: var(--white);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}
.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-deep);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.gallery figcaption {
  padding: .45rem .65rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--plum-mid);
  background: var(--cream);
}
.gallery-note {
  margin: .85rem 0 0;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Hours */
.hours-sec { background: var(--cream-deep); }
.hours-grid {
  display: grid;
  gap: 1.5rem;
}
.hours-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
}
.hours-card table { width: 100%; border-collapse: collapse; }
.hours-card th, .hours-card td {
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}
.hours-card th { color: var(--plum); width: 42%; }
.hours-card td { text-align: right; color: var(--ink-soft); }
.hours-card tr.closed td { color: var(--lacquer); font-weight: 700; }
.hours-card tr:last-child th,
.hours-card tr:last-child td { border-bottom: 0; }

/* Visit */
.visit {
  background: var(--plum);
  color: var(--cream);
  padding: 3.5rem 0 calc(2.5rem + var(--dock-h));
}
.visit .eyebrow { color: var(--gold); }
.visit h2 { color: var(--cream); }
.visit-sub {
  margin: -.35rem 0 1rem;
  color: var(--gold);
  font-weight: 600;
}
.visit p { color: rgba(246, 240, 232, 0.85); }
.visit-grid {
  display: grid;
  gap: 1.75rem;
}
.visit-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.visit-card {
  background: rgba(255, 251, 247, 0.06);
  border: 1px solid rgba(255, 251, 247, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
}
.visit-card h3 { color: var(--cream); margin-bottom: .5rem; }
.phone-big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  margin: .85rem 0 1.1rem;
}
.visit-fine {
  margin: .85rem 0 0;
  font-size: .8rem;
  color: rgba(246, 240, 232, 0.65);
  text-align: center;
}

/* Footer */
.site-footer {
  background: #2A121C;
  color: rgba(246, 240, 232, 0.75);
  padding: 1.35rem 0 calc(1.1rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: .85rem;
}
.footer-inner p { margin: .2rem 0; }
.footer-note { font-size: .75rem; opacity: .75; }

/* Sticky mobile dock — Call + Book */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(42, 18, 28, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,251,247,.1);
}
.dock a, .dock button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1rem;
  font-weight: 700;
  font-size: .95rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.dock-call {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,251,247,.28) !important;
}
.dock-book {
  background: var(--gold);
  color: var(--plum);
}

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 18, 28, 0.55);
}
.modal-panel {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: var(--cream);
  border-radius: 18px 18px 0 0;
  padding: 1.35rem 1.2rem 1.6rem;
  box-shadow: var(--shadow);
}
.modal-x {
  position: absolute;
  top: .7rem;
  right: .85rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal-lede {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
#book-form label {
  display: block;
  margin-bottom: .85rem;
}
#book-form label > span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--plum-mid);
  margin-bottom: .35rem;
}
#book-form label > span i { font-style: normal; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .7; }
#book-form input,
#book-form select,
#book-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .8rem;
  background: var(--white);
  color: var(--ink);
}
#book-form input:focus,
#book-form select:focus,
#book-form textarea:focus {
  outline: 2px solid rgba(196, 165, 116, 0.55);
  border-color: var(--gold);
}
.form-row {
  display: grid;
  gap: .75rem;
}
.err {
  display: block;
  min-height: 1em;
  color: var(--lacquer);
  font-size: .75rem;
  margin-top: .25rem;
}
.is-invalid input,
.is-invalid select {
  border-color: var(--lacquer);
}
#book-thanks .btn { margin-top: .55rem; }

@media (min-width: 720px) {
  .nav-desk { display: flex; }
  .header-actions { margin-left: 0; }
  .brand-name { font-size: 1.15rem; }
  .strip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .strip-item {
    padding: 1.15rem 1.1rem;
    border-bottom: 0;
    border-right: 1px solid rgba(255,251,247,.1);
  }
  .strip-item:last-child { border-right: 0; }
  .about-grid {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
  .menu-board {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.75rem 1.75rem 1.9rem;
  }
  .menu-col:first-child h3:first-child,
  .menu-col h3 { margin-top: 0; }
  .menu-col h3 + ul + h3 { margin-top: 1.35rem; }
  .hours-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }
  .visit-grid {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
    gap: 2.25rem;
  }
  .visit { padding-bottom: 3.5rem; }
  .dock { display: none; }
  body { padding-bottom: 0; }
  .modal { place-items: center; padding: 1rem; }
  .modal-panel {
    border-radius: 18px;
    max-height: min(88vh, 42rem);
  }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { display: none; }
  .brand-tag { display: none; }
}
