:root {
  --bg: #f6efe3;
  --surface: #fffaf2;
  --logo-blue-dark: #0c5f73;
  --text: var(--logo-blue-dark);
  --muted: #2f6f81;
  --line: rgba(75, 57, 38, 0.2);
  --gold: #d4b06a;
  --gold-soft: #ead3a4;
  --radius: 14px;
  --single-price-col: 72px;
  --double-price-col: 160px;
  --badge-price-col: 96px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: var(--text);
  line-height: 1.1;
  margin: 0 0 0.65rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1rem;
  color: var(--text);
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 239, 227, 0.94);
  backdrop-filter: blur(8px);
}

.nav-shell {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0.55rem;
  margin-bottom: -0.55rem;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.7rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  min-width: 220px;
  display: grid;
  gap: 0.2rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(8, 36, 45, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1200;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  opacity: 1;
  color: var(--text);
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a.active,
.dropdown-menu a:hover {
  color: var(--text);
  background: rgba(12, 95, 115, 0.1);
}

.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: #7f5c2a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: #7f5c2a;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.brand {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b6924f;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
}

.btn:hover {
  background: var(--gold-soft);
  color: #7f5c2a;
}

.btn-ghost {
  border: 1px solid rgba(12, 95, 115, 0.4);
  background: transparent;
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(12, 95, 115, 0.1);
  color: #7f5c2a;
}

section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.page-intro {
  padding: 2.9rem 0 2.4rem;
  background:
    linear-gradient(180deg, rgba(212, 176, 106, 0.09), rgba(212, 176, 106, 0));
}

.page-intro p {
  text-align: center;
  margin-bottom: 0.45rem;
}

.page-intro h1 {
  text-align: center;
  margin-bottom: 0;
}

.eyebrow {
  color: #a17c42;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.73rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.center { text-align: center; }

.hero {
  padding: 4.6rem 0 3.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy p { color: var(--muted); max-width: 60ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 1.4rem;
}

.open-hours-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.panel-subhead {
  margin-top: 0.95rem;
}

.hours-list {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.hours-address {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(95, 79, 64, 0.4);
  padding: 0.62rem 0;
}

.hours-list li:last-child { border-bottom: 0; }

.link-inline {
  color: #7f5c2a;
  text-decoration: none;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.image-block {
  border: 1px solid var(--line);
  background: #f6efe3;
  overflow: hidden;
}

.studio-photo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.18);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.service-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.25rem;
}

.service-card p { color: var(--muted); }

.service-grid.service-grid-detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin: 1.4rem auto 0;
  gap: 1.1rem;
}

.service-card-detailed {
  padding: 1.3rem 1.4rem;
}

.service-card-detailed h3 {
  margin-bottom: 0.55rem;
}

.service-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.service-steps li {
  margin-bottom: 0.35rem;
}

.service-steps li:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .service-grid.service-grid-detailed {
    grid-template-columns: 1fr;
  }
}

.price-list-section {
  background: #f3ebde;
}

.price-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.service-category-group {
  margin-bottom: 2.3rem;
  scroll-margin-top: clamp(7rem, 11vw, 9rem);
}

#polish-change-removal {
  scroll-margin-top: clamp(7rem, 11vw, 9rem);
}

.category-heading,
.category-heading-sub {
  font-family: "Cinzel Decorative", serif;
  color: var(--text);
  text-align: center;
}

.category-heading { font-size: 1.75rem; }

.category-heading-sub {
  font-size: 1.2rem;
  display: inline-block;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.category-subtitle {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  font-style: italic;
  margin-top: -0.35rem;
}

.service-detail-text {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.price-item-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--single-price-col);
  column-gap: 0.55rem;
  align-items: start;
  margin: -0.35rem 0 0.75rem;
  padding-left: 0;
  list-style: none;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #000;
}

.item-detail-text {
  grid-column: 1;
  white-space: normal;
  overflow-wrap: break-word;
}

.category-pill-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.7rem;
}

.price-badge-row {
  display: grid;
  grid-template-columns: repeat(2, var(--badge-price-col));
  justify-content: end;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.price-pill-badge {
  background: var(--text);
  color: #fff;
  border-radius: 50px;
  min-width: 70px;
  min-height: 24px;
  width: auto;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-pill-badge.gold-badge { background: var(--gold); color: var(--text); }

.price-badge-row .price-pill-badge {
  width: var(--badge-price-col);
  padding: 0;
}

.price-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-item {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr var(--single-price-col);
  column-gap: 0.55rem;
  align-items: end;
  margin-bottom: 0.7rem;
}

.item-name { font-weight: 500; }
.item-name small { color: var(--muted); font-size: 0.8rem; }

.tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.item-tooltip-trigger {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  padding: 0;
  cursor: help;
  text-align: left;
}

.item-tooltip-trigger:focus-visible {
  outline: 2px solid rgba(13, 45, 84, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.service-tooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  width: min(320px, 78vw);
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(13, 45, 84, 0.28);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 14px 28px rgba(22, 35, 38, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.tooltip-wrap:hover .service-tooltip,
.tooltip-wrap:focus-within .service-tooltip,
.tooltip-wrap.is-open .service-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.price-item-tooltip {
  align-items: center;
}

.item-connector {
  border-bottom: 1px dotted rgba(95, 79, 64, 0.45);
  min-width: 20px;
  transform: translateY(-0.25rem);
}

.price-val {
  min-width: var(--single-price-col);
  text-align: left;
  font-weight: 700;
}

.price-item.double-price {
  grid-template-columns: minmax(0, auto) 1fr var(--double-price-col);
}

.price-item.double-price .price-split {
  display: grid;
  grid-template-columns: repeat(2, var(--single-price-col));
  width: var(--double-price-col);
  justify-content: end;
  gap: 1rem;
}

.mini-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

#manicure-pedicure {
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.menu-disclaimer {
  font-size: 0.84rem;
  color: #2f4f5a;
  font-style: italic;
  margin: 0.55rem 0 0;
  padding: 0.5rem 0.75rem 0.55rem;
  border-left: 3px solid #2f4f5a;
  background: rgba(47, 79, 90, 0.1);
  border-radius: 0 10px 10px 0;
  line-height: 1.45;
}

.polish-note {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: #2f4f5a;
  text-align: left;
  font-style: italic;
  padding: 0.5rem 0.75rem 0.55rem;
  border-left: 3px solid #2f4f5a;
  background: rgba(47, 79, 90, 0.1);
  border-radius: 0 10px 10px 0;
  line-height: 1.45;
}

.gallery-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  border: 1px solid rgba(22, 35, 38, 0.16);
  border-radius: 18px;
  width: 100%;
  min-height: 340px;
  cursor: zoom-in;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 242, 232, 0.96));
  display: grid;
  place-items: center;
  padding: 0.75rem;
  box-shadow: 0 12px 28px rgba(22, 35, 38, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(13, 45, 84, 0.45);
  box-shadow: 0 18px 36px rgba(22, 35, 38, 0.18);
}

.tile:focus-visible {
  outline: 2px solid rgba(13, 45, 84, 0.5);
  outline-offset: 2px;
}

.tile-image {
  width: 100%;
  height: 100%;
  max-height: 324px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 280px;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-grid.booking-only-grid {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.booking-panel {
  width: 100%;
  text-align: center;
  display: grid;
  justify-items: center;
}

.form {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.form button {
  justify-self: start;
}

.form-status {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.form-status.is-success {
  color: #476734;
}

.form-status.is-error {
  color: #8c3b2a;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  border: 1px solid rgba(95, 79, 64, 0.35);
  background: #fffaf2;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.booking-title {
  margin: 0.2rem 0 0.4rem;
}

.booking-fallback {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 2.2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.1fr;
  gap: 1.4rem;
  align-items: start;
}

.footer-col {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
}

.footer-brand-link {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.social-row {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.55rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(95, 79, 64, 0.4);
  background: #fffaf2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: var(--text);
}

.social-link:hover {
  background: var(--gold-soft);
}

.footer-section-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.footer-open-hours-title {
  margin-top: 0.95rem;
}

.footer-contact-list,
.footer-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li,
.footer-hours-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  column-gap: 0.45rem;
  border-bottom: 1px dotted rgba(95, 79, 64, 0.34);
  padding: 0.36rem 0;
  font-size: 0.86rem;
}

.footer-contact-list li:last-child,
.footer-hours-list li:last-child {
  border-bottom: 0;
}

.footer-contact-list .label,
.footer-hours-list .label {
  font-weight: 700;
}

.footer-map-wrap {
  border: 1px solid var(--line);
  min-height: 210px;
  overflow: hidden;
}

.footer-map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 210px;
}

.footer-legal {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.footer-legal p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal a {
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #7f5c2a;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.floating-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  text-decoration: none;
  color: #fff;
  background: var(--gold);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.floating-top:hover {
  background: var(--gold-soft);
  color: #7f5c2a;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(34, 24, 13, 0.78);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] { display: none; }

.lightbox-image {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
  user-select: none;
  touch-action: none;
  transform-origin: center center;
  transition: transform 0.16s ease;
}

.lightbox-image.is-zoomed {
  cursor: grab;
}

.lightbox-image.is-dragging {
  cursor: grabbing;
  transition: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

body.no-scroll { overflow: hidden; }

@media (max-width: 980px) {
  .nav-shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: auto;
    row-gap: 0.65rem;
    padding: 0.6rem 0;
  }

  .brand { order: 1; width: 100%; justify-content: center; }

  .nav-left,
  .nav-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .nav-left { order: 2; }
  .nav-right { order: 3; }

  .nav-dropdown {
    z-index: 1300;
  }

  .dropdown-menu {
    left: 0;
    top: 100%;
    transform: translate(0, 0);
    min-width: min(280px, 88vw);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.is-open .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: translate(0, 0);
  }

  .hero-grid,
  .grid-2,
  .contact-grid,
  .price-menu-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-hours-list li {
    grid-template-columns: 95px 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .main-nav a { font-size: 0.8rem; }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  section { padding: 3.2rem 0; }
}
