/* ==========================================================================
   Great Nails — greatnailscoonrapids.com
   Plain HTML/CSS/JS, mobile-first. Palette per PRD section 7.1.
   ========================================================================== */

:root {
  --bg-pink: #FBEFF2;
  --wine: #9B1B30;
  --wine-dark: #7A1526;
  --gold: #B8892F;
  --text: #2B2420;
  --white: #FFFFFF;
  --border: rgba(43, 36, 32, 0.12);
  --shadow: 0 10px 30px rgba(155, 27, 48, 0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', var(--font-display);
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 72px;
  --mobile-bar-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* Links inside body copy must look like links */
main p a:not(.btn) {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

main p a:not(.btn):hover { color: var(--wine-dark); }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-pink);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--wine);
  margin-bottom: 10px;
}

.section-head p {
  color: rgba(43, 36, 32, 0.75);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover { background: var(--wine-dark); }

.btn-outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}

.btn-outline:hover { background: var(--wine); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-block { width: 100%; }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.6rem;
  line-height: 1;
}

.logo .logo-great {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.5em;
}

.logo .logo-nails {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.02em;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a[aria-current="true"] {
  color: var(--wine);
  border-color: var(--wine);
}

.header-cta {
  display: none;
}

.nav-toggle {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before { transform: translate(-50%, -50%) translateY(-6px); }
.nav-toggle::after { transform: translate(-50%, -50%) translateY(6px); }

.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
  overflow-y: auto;
  padding: 24px 20px 100px;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a[aria-current="page"],
.mobile-menu a[aria-current="true"] { color: var(--wine); }

.mobile-menu .btn { margin-top: 20px; }

/* Sticky mobile book bar */

.mobile-book-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
  display: flex;
  gap: 10px;
}

.mobile-book-bar .btn { flex: 1 1 0; }

body { padding-bottom: var(--mobile-bar-h); }

/* ---------- Hero ---------- */

.hero {
  background: var(--bg-pink);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
  align-items: center;
}

.hero-copy .eyebrow { }

.hero-copy h1 { margin-bottom: 0.3em; }

.hero-copy .lede {
  font-size: 1.05rem;
  color: rgba(43, 36, 32, 0.8);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: rgba(43, 36, 32, 0.75);
}

.hero-meta li { display: flex; align-items: center; gap: 8px; }

/* ---------- Placeholder images ---------- */

.ph-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 20%, rgba(184, 137, 47, 0.28), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(155, 27, 48, 0.25), transparent 55%),
    linear-gradient(135deg, #f6d9e0, #f1c6cf);
  color: var(--wine-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
}

.ph-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(155, 27, 48, 0.35);
  border-radius: 18px;
  z-index: -1;
}

.ph-image svg {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  opacity: 0.65;
}

.ph-image span {
  display: block;
  max-width: 24ch;
}

img.ph-image {
  padding: 0;
  object-fit: cover;
}

.hero-media .ph-image { aspect-ratio: 4 / 3; height: auto; border-radius: 24px; }
/* <picture> wrappers must not add a box: layout rules target the <img>.
   <source> would otherwise become an empty grid cell. */
picture { display: contents; }
picture source { display: none; }

/* ---------- Why choose us cards ---------- */

.reason-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.reason-card .icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  color: var(--wine);
}

.reason-card h3 { margin-bottom: 8px; font-size: 1.05rem; }

.reason-card p { font-size: 0.9rem; color: rgba(43, 36, 32, 0.7); margin: 0; }

/* ---------- Hours row (Home) ---------- */

.hours-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 720px;
  margin: 0 auto;
}

.hours-row li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wine);
}

.hours-row span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(43, 36, 32, 0.7);
  margin-bottom: 4px;
}

/* ---------- Pedicure table (Home) ---------- */

.pedi-table-wrap {
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.pedi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pedi-table th,
.pedi-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.pedi-table tbody tr:last-child th,
.pedi-table tbody tr:last-child td { border-bottom: none; }

.pedi-table thead th {
  background: var(--bg-pink);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
}

.pedi-table tbody th { font-weight: 600; white-space: nowrap; }

/* Shrink the name and price columns to their content so the description gets the room */
.pedi-table th:nth-child(-n+2),
.pedi-table td.price { width: 1%; white-space: nowrap; }

@media (max-width: 639px) {
  .pedi-table th,
  .pedi-table td { padding: 12px 10px; }
}

.pedi-table td { color: rgba(43, 36, 32, 0.75); }

.pedi-table .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wine);
  white-space: nowrap;
}

.table-note {
  max-width: 860px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(43, 36, 32, 0.75);
}

/* ---------- Reviews ---------- */

.review-strip {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
}

.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--wine);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band p a:not(.btn),
.cta-band p a:not(.btn):hover { color: var(--white); }

.cta-band .btn-primary {
  background: var(--white);
  color: var(--wine);
}
.cta-band .btn-primary:hover { background: var(--bg-pink); }

.cta-band .btn-outline {
  color: var(--white);
  border-color: var(--white);
}
.cta-band .btn-outline:hover { background: var(--white); color: var(--wine); }

/* ---------- About page ---------- */

.story-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.story-grid .ph-image { width: 100%; }

.team-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.team-card {
  text-align: center;
}

.team-card .ph-image {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 14px;
  width: 140px;
}

.team-card h3 { margin-bottom: 2px; }
.team-card p { color: rgba(43,36,32,0.65); font-size: 0.85rem; margin: 0; }

.commitment-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.commitment-list li:last-child { border-bottom: none; }

.commitment-list .icon { color: var(--wine); flex-shrink: 0; width: 22px; height: 22px; }

/* ---------- Services & Pricing ---------- */

.pricing-note {
  background: #FFF6E5;
  border: 1px solid rgba(184, 137, 47, 0.4);
  color: #6b4f14;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.menu-card {
  background: #FFFBF7;
  border: 1px solid var(--wine);
  border-radius: 10px;
  padding: 32px 24px;
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px); /* FAQ links jump to these sections */
}

.menu-card h2 {
  margin: 0 0 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.6rem;
  color: var(--wine);
}

.menu-group {
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: var(--wine);
}

.menu-sub {
  margin: 0 0 6px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(43, 36, 32, 0.75);
}

.menu-foot { margin-top: 18px; }

.menu-item { margin-top: 18px; }

.menu-line,
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
}

.menu-line .name { font-weight: 600; }

.menu-line .dots,
.menu-list .dots {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted rgba(43, 36, 32, 0.55);
  transform: translateY(-4px);
}

.menu-line .price,
.menu-list .price {
  font-weight: 600;
  white-space: nowrap;
}

.menu-item .desc {
  margin: 4px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(43, 36, 32, 0.75);
}

.menu-item .menu-meta { margin-top: 2px; font-size: 0.84rem; }
.menu-item .menu-meta strong { color: var(--wine); font-weight: 600; }
.pmu-menu { margin: 18px 0 12px; }
.pmu-menu .menu-item:first-child { margin-top: 0; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px 36px;
  grid-template-columns: 1fr;
}

.kids-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.kids-table th,
.kids-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid rgba(43, 36, 32, 0.25);
}

.kids-table thead th { background: #F4F1EC; color: var(--wine); font-weight: 500; }
.kids-table tbody th { font-weight: 500; }
.kids-table tbody tr:nth-child(even) { background: #F4F1EC; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 700px) {
  .menu-card { padding: 36px 32px; }
  .menu-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-grid .ph-image { aspect-ratio: 1 / 1; border-radius: 14px; width: 100%; }

.gallery-grid figure { margin: 0; }

.gallery-grid figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(43, 36, 32, 0.75);
}

/* Three real photos under the Services price menu */
.photo-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.photo-row .ph-image { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; }

/* Four photos on Home: 2x2 on phones, one row from 640px */
.photo-row--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .photo-row--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Home: Google review quotes ---------- */

.review-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 860px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-stars { color: #E8A317; font-size: 1.1rem; letter-spacing: 2px; }

.review-card blockquote {
  margin: 12px 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

.review-card figcaption { font-weight: 600; }

.review-card figcaption span { font-weight: 400; color: rgba(43, 36, 32, 0.7); }

.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- Booking page ---------- */

.booking-panel {
  background: var(--bg-pink);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
}

.booking-panel h2 { margin-bottom: 10px; }

.booking-panel + .booking-panel { margin-top: 20px; background: var(--white); border: 1px solid var(--border); }

.booking-panel .fallback {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(43,36,32,0.75);
}

.booking-panel .fallback a { color: var(--wine); font-weight: 600; }

/* ---------- Long-form text (privacy policy) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose li a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }

.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Contact & Hours ---------- */

.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
}

.contact-card h2,
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.hours-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(43, 36, 32, 0.75);
}

.contact-photo { margin: 20px 0 0; }

.contact-photo .ph-image { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; }

.contact-photo figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(43, 36, 32, 0.75);
}

.contact-card .icon { width: 22px; height: 22px; color: var(--wine); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

.map-frame {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-question .plus::before,
.faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--wine);
  transition: transform 0.2s ease;
}

.faq-question .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-1px); }
.faq-question .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); }

.faq-item.is-open .plus::after { transform: translateX(-1px) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: rgba(43,36,32,0.75);
  margin: 0;
}

.faq-answer ul {
  margin: 0;
  padding: 0 20px 20px 40px;
  list-style: disc;
  color: rgba(43,36,32,0.75);
}

.faq-answer li::marker { color: var(--wine); }

.faq-answer li + li { margin-top: 8px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #241B17;
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-grid .logo .logo-nails { color: var(--white); }
.footer-grid .logo .logo-great { color: var(--gold); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-col p, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a:hover { color: var(--white); }


.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---------- Page header (interior pages) ---------- */

.page-header {
  background: var(--bg-pink);
  padding: 44px 0 40px;
  text-align: center;
}

.page-header p { max-width: 56ch; margin: 0 auto; color: rgba(43,36,32,0.75); }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 860px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid.reverse .ph-image { order: 2; }

  .contact-grid { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .mobile-book-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Promo popup (new-owner offer) ---------- */

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(43, 36, 32, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.promo-overlay.is-open { opacity: 1; visibility: visible; }

.promo-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 36px 24px 22px;
  background: var(--wine);
  color: var(--white);
  text-align: center;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 6px var(--wine), inset 0 0 0 7px var(--gold), 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.promo-overlay.is-open .promo-card { transform: none; }

.promo-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.promo-logo { justify-content: center; font-size: 2.1rem; line-height: 1.1; }
.promo-logo .logo-great { font-family: var(--font-script); font-weight: 700; color: var(--white); }
.promo-logo .logo-nails { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-left: 6px; }

.promo-rule { width: 90px; height: 1px; margin: 12px auto 16px; background: var(--gold); border: 0; }

.promo-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.promo-sub { margin: 0 0 18px; font-family: var(--font-display); font-size: 1rem; }

.promo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 172px;
  margin: 0 auto 16px;
  padding: 0 18px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  color: var(--wine);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}

.promo-badge .big { font-size: 2rem; }
.promo-badge .off { font-size: 2.4rem; }
.promo-badge .small { margin-top: 8px; line-height: 1.3; font-size: 0.64rem; letter-spacing: 0.02em; color: var(--text); text-transform: uppercase; }

.promo-detail { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.05rem; }

.promo-code {
  display: inline-block;
  padding: 8px 26px 10px;
  border: 2px solid var(--gold);
}

.promo-code .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.promo-code .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.promo-actions { margin-top: 18px; }

.promo-actions .btn {
  width: 100%;
  background: var(--white);
  color: var(--wine);
  border-color: var(--white);
}

.promo-actions .btn:hover { background: var(--bg-pink); }

.promo-terms { margin: 14px 0 0; font-size: 0.75rem; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

/* ---------- Social links ---------- */

.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8);
}
.footer-social a:hover { color: var(--white); border-color: var(--white); }
.cta-band .cta-more { margin-top: 16px; }
.cta-band .cta-more a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Permanent makeup pages ---------- */

.pmu-container { max-width: 820px; }
.pmu-container h2 { margin-bottom: 14px; }
.pmu-capsule { font-size: 1.08rem; font-weight: 500; }

.pmu-list { margin: 0 0 1em; padding-left: 1.4em; }
ul.pmu-list { list-style: disc; }
ol.pmu-list { list-style: decimal; }
.pmu-list li { margin-bottom: 8px; padding-left: 4px; }

.pmu-table-wrap { max-width: 100%; margin: 18px 0 12px; }
.pedi-table.pmu-table th:nth-child(-n+2) { width: auto; white-space: normal; }
.pedi-table.pmu-table tbody th { white-space: normal; min-width: 130px; }
.pedi-table.pmu-table td { min-width: 90px; }
.pedi-table.pmu-table td.price { width: auto; }

.page-header .btn { margin-top: 20px; }
.page-header .pmu-container p { max-width: 62ch; }

@media (max-width: 639px) {
  .pmu-table-wrap { overflow-x: visible; }
  .pedi-table.pmu-table thead { display: none; }
  .pedi-table.pmu-table,
  .pedi-table.pmu-table tbody,
  .pedi-table.pmu-table tr,
  .pedi-table.pmu-table th,
  .pedi-table.pmu-table td { display: block; width: auto; }
  .pedi-table.pmu-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .pedi-table.pmu-table tbody tr:last-child { border-bottom: none; }
  .pedi-table.pmu-table tbody th { padding: 0 0 8px; border: none; font-size: 1.02rem; min-width: 0; }
  .pedi-table.pmu-table td { padding: 5px 0; border: none; min-width: 0; display: flex; gap: 14px; justify-content: flex-start; }
  .pedi-table.pmu-table td::before { content: attr(data-label); flex: 0 0 34%; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); padding-top: 2px; }
}

/* Real photos on the permanent makeup pages: swipe row on phones, grid from 640px */
.pmu-photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px 0 22px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.pmu-photos figure { margin: 0; flex: 0 0 62%; scroll-snap-align: start; }
.pmu-photos--1 figure { flex-basis: 70%; max-width: 340px; }
.pmu-photos--2 figure { flex-basis: calc(50% - 6px); }
.pmu-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; border-radius: 14px; }
.pmu-photos--sq img { aspect-ratio: 1 / 1; object-position: center; }
.pmu-photos figcaption { margin-top: 8px; font-size: 0.85rem; text-align: center; color: rgba(43, 36, 32, 0.75); }

@media (min-width: 640px) {
  .pmu-photos { display: grid; gap: 16px; overflow: visible; }
  .pmu-photos--1 { grid-template-columns: minmax(0, 340px); }
  .pmu-photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmu-photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Site structure: breadcrumbs, footer sub-links, Also at Great Nails ---------- */

.breadcrumb { margin: 0 0 14px; font-size: 0.85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumb a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb [aria-current] { color: rgba(43, 36, 32, 0.75); }


.also-grid { display: grid; grid-template-columns: minmax(0, 460px); justify-content: center; gap: 20px; margin-top: 8px; }
.also-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; text-align: center; box-shadow: var(--shadow); }
.also-card h3 { margin-bottom: 8px; }
.also-card h3 a { color: var(--wine); }
.also-card p { margin-bottom: 12px; }
.also-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin: 0; }
.also-links a { text-decoration: underline; text-underline-offset: 2px; }

/* Gallery: permanent makeup section */
.gallery-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 14px; font-size: 0.95rem; }
.gallery-jump a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.gallery-sub { margin: 32px 0 14px; font-size: 1.2rem; }
.gallery-grid.gallery-grid--pmu .ph-image { aspect-ratio: 3 / 4; object-position: center 35%; }
.gallery-grid.gallery-grid--sq .ph-image { aspect-ratio: 1 / 1; object-position: center 40%; }
html { scroll-padding-top: 90px; }

/* Book Now and Call buttons on the permanent makeup pages */
.pmu-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- Offer banner on the booking page ---------- */

.promo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 12px 16px;
  background: var(--bg-pink);
  border: 1px solid rgba(155, 27, 48, 0.25);
  border-left: 5px solid var(--wine);
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.promo-banner[hidden] { display: none; }
.promo-banner-title { color: var(--wine); font-family: var(--font-display); font-size: 1.05rem; }
.promo-banner-text b { color: var(--wine); letter-spacing: 0.06em; }
@media (max-width: 560px) {
  .promo-banner { display: block; padding: 10px 14px; font-size: 0.88rem; }
  .promo-banner-title { display: block; margin-bottom: 2px; }
}
