/* Famous Nails — one-page site. Plain CSS, no build step. */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/greatvibes-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fdf8f3;
  --cream-deep: #f3e8de;
  --blush: #f6e7ea;
  --blush-deep: #e8c7d2;
  --emerald: #1f5c4a;
  --emerald-dark: #164337;
  --emerald-soft: #cfe3da;
  --gold: #b8913a;
  --gold-soft: #f1e2bf;
  --burgundy: #7a1f3d;
  --text: #3a2a30;
  --muted: #5c4a50;
  --white: #fffdfb;
  --line: rgba(184, 145, 58, 0.45);
  --shadow: 0 16px 40px rgba(58, 42, 48, 0.08);
  --radius: 18px;
  --header-h: 4.25rem;
  --sticky-call-h: 4.25rem;
  --max: 70rem;
  --font-serif: "Playfair Display", "Times New Roman", Times, serif;
  --font-sans: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-script: "Great Vibes", "Palatino Linotype", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html.js[lang="en"] .es,
html.js[lang="es"] .en { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(232, 199, 210, 0.55), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(207, 227, 218, 0.55), transparent 50%),
    var(--cream);
  min-height: 100%;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--emerald); }
a:hover { color: var(--emerald-dark); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--burgundy);
  letter-spacing: 0.01em;
}

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--emerald);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ----- Holiday notice (temporary; remove the HTML block after Thanksgiving) ----- */
.notice {
  background: var(--emerald);
  color: var(--white);
  font-size: 0.9rem;
  position: relative;
  z-index: 30;
}
.notice-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 2.5rem 0.65rem 0.5rem;
  text-align: center;
}
.notice p { margin: 0; }
.notice-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.notice-close:hover { background: rgba(255,255,255,0.12); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  white-space: nowrap;
}
.header-inner { flex-wrap: nowrap; }
.brand-loc {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.72rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  min-width: 2.4rem;
  min-height: 2.2rem;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--emerald);
  color: var(--white);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle-bars {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none;
}
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem 1rem;
}
.site-nav a {
  display: block;
  padding: 0.7rem 0.4rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--blush);
}
.site-nav a:hover { color: var(--emerald); }
a.btn.nav-call { display: none; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover { background: var(--emerald-dark); color: var(--white); border-color: var(--emerald-dark); }
.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--gold-soft); color: var(--burgundy); }
.btn-review {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-review:hover { background: #641833; color: var(--white); border-color: #641833; }

/* ----- Hero ----- */
.hero {
  padding: 2rem 0 3rem;
}
.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.6rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  margin: 0 0 0.5rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.walkins {
  font-family: var(--font-script);
  font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  color: var(--emerald);
  line-height: 1.25;
  margin: 0.6rem 0 1.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(184, 145, 58, 0.55);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.gold-rule {
  width: 4rem;
  height: 2px;
  background: var(--gold);
  margin: 0 0 1.25rem;
  border: 0;
}

/* ----- Sections ----- */
.section { padding: 3rem 0; }
.section-head { text-align: center; max-width: 36rem; margin: 0 auto 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 0.5rem; }
.section-head p { color: var(--muted); margin: 0; }

#services, #gallery, #visit, #reviews, #hours { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

/* Services & prices — edit the list and amounts in index.html only */
.price-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.15rem 0 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.services-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.05rem;
  box-shadow: 0 8px 20px rgba(58, 42, 48, 0.04);
}
.services-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--burgundy);
  margin: 0 0 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}
.services-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--blush);
  font-size: 0.95rem;
  color: var(--text);
}
.services-card li:last-child { border-bottom: 0; }
.svc-name { min-width: 0; }
.svc-price {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  padding: 0.4rem 0.4rem 0.4rem 0;
  border-bottom: 1px solid var(--blush);
  vertical-align: bottom;
}
.price-table thead th {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  text-align: right;
}
.price-table thead th:first-child { text-align: left; }
.price-table tbody th {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  text-align: left;
}
.price-table td {
  text-align: right;
  font-weight: 600;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.svc-extra {
  margin-top: 0.6rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}
.gift-note {
  text-align: center;
  margin: 1.5rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--emerald);
}
.hours-tbd { font-weight: 500; }
.hours-tbd a { color: var(--emerald); text-decoration: none; font-weight: 500; }
.hours-tbd a:hover { text-decoration: underline; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.gallery-grid a {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blush);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img,
.gallery-grid a:focus-visible img { transform: scale(1.04); }

/* Visit / hours */
.visit-grid {
  display: grid;
  gap: 1.5rem;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: 0 8px 20px rgba(58, 42, 48, 0.04);
}
.panel h2, .panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--blush);
  vertical-align: top;
}
.hours-table th { font-weight: 500; color: var(--muted); width: 48%; }
.hours-table td { font-weight: 600; }
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }

.contact-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.contact-list li { margin: 0 0 0.85rem; }
.contact-list .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--emerald); text-decoration: underline; }

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 1rem;
  background: var(--cream-deep);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 16rem;
  border: 0;
}

/* Reviews */
.reviews {
  background:
    linear-gradient(180deg, rgba(246, 231, 234, 0.65), rgba(253, 248, 243, 0.2));
}
.reviews .section-head { margin-bottom: 1.25rem; }
.reviews .script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  color: var(--burgundy);
  font-weight: 400;
  margin: 0 0 0.15rem;
  line-height: 1.1;
}
.reviews-actions { text-align: center; }

/* Footer */
.site-footer {
  background: var(--emerald-dark);
  color: #f3e8de;
  padding: 2.5rem 0 calc(2rem + var(--sticky-call-h));
}
.site-footer a { color: #f1e2bf; }
.site-footer a:hover { color: #fff; }
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-brand .brand-name { color: #fffdfb; }
.footer-brand .brand-loc { color: var(--emerald-soft); }
.footer-meta { font-size: 0.92rem; margin: 0; }
.footer-meta + .footer-meta { margin-top: 0.35rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 500;
}
.copy { font-size: 0.8rem; opacity: 0.8; margin-top: 0.5rem; }

/* Sticky mobile call bar */
.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--sticky-call-h);
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--emerald);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 -8px 24px rgba(22, 67, 55, 0.25);
}
.sticky-call:hover { color: var(--white); background: var(--emerald-dark); }
.sticky-call svg { width: 1.2rem; height: 1.2rem; }

/* Book now placeholder stays hidden until the owner enables Square booking */
.book-now-wrap[hidden],
.book-now-wrap.is-hidden { display: none !important; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 12, 18, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 64rem);
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(253, 248, 243, 0.95);
  color: var(--text);
  border: 0;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.lightbox-close { top: 0.7rem; right: 0.7rem; }
.lightbox-prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--white); }
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  text-align: center;
  color: #fdf8f3;
  font-size: 0.85rem;
  padding: 0 1rem;
}

/* ----- Desktop ----- */
@media (min-width: 600px) and (max-width: 799px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-card.enhancements { grid-column: 1 / -1; }
}

@media (min-width: 800px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    margin-left: auto;
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }
  .site-nav a {
    border: 0;
    padding: 0.4rem 0.7rem;
    font-size: 0.92rem;
    border-radius: 999px;
  }
  .site-nav a:hover { background: var(--blush); }
  .header-actions { margin-left: 0.75rem; }
  a.btn.nav-call {
    display: inline-flex;
    margin-left: 0.25rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.95rem;
    font-size: 0.88rem;
  }
  .sticky-call { display: none; }
  .site-footer { padding-bottom: 2.5rem; }

  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
  .services-grid { grid-template-columns: repeat(6, 1fr); gap: 1.1rem; align-items: stretch; }
  .services-card { grid-column: span 2; }
  .services-card.enhancements { grid-column: 1 / -1; }
  .services-card:nth-last-child(1),
  .services-card:nth-last-child(2) { grid-column: span 3; }
  .gallery-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
  .visit-grid { grid-template-columns: 1fr 1.15fr; gap: 1.75rem; align-items: start; }
  .map-wrap iframe { height: 20rem; }
  .footer-inner {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
    gap: 2rem;
  }
}

@media (min-width: 800px) and (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .site-nav a { padding: 0.4rem 0.5rem; font-size: 0.85rem; }
}


.map-full {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 0;
  padding-bottom: 0;
}
.map-full .map-wrap { margin-top: 1.5rem; }
.map-full iframe { height: 18rem; }

@media (max-width: 799px) {
  .hours-table th,
  .hours-table td {
    display: block;
    width: auto;
  }
  .hours-table th {
    padding-bottom: 0.1rem;
    border-bottom: 0;
  }
  .hours-table td {
    padding-top: 0.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--blush);
  }
  .hours-table tr:last-child td { border-bottom: 0; padding-bottom: 0.15rem; }
}

@media (min-width: 600px) and (max-width: 799px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-card.enhancements { grid-column: 1 / -1; }
}

@media (min-width: 800px) {
  .visit-grid { align-items: stretch; }
  .map-full { width: min(100% - 3rem, var(--max)); }
  .map-full iframe { height: 22rem; }
  .header-inner { gap: 1rem; }
}
