/* ==========================================================================
   Soft, milky, handmade — a cozy home nail studio
   Mobile-first (360–430px), scales up to desktop.
   ========================================================================== */

:root {
  --milk: #FAF6F2;
  --cream: #F3ECE6;
  --blush: #EFD6D2;
  --rose: #C98A84;
  --cherry: #8E1F2F;
  --cherry-deep: #74192A;
  --ink: #2B2222;
  --muted: #8A7C78;          /* decorative only (lines, borders) */
  --muted-ink: #6B5E5A;      /* secondary TEXT — 5.4:1 on --milk, 5.0:1 on --cream */
  --line: rgba(43, 34, 34, .14);
  --line-soft: rgba(43, 34, 34, .08);
  --pearl: linear-gradient(135deg, #FFFFFF 0%, #E7E4E8 32%, #F8F1EF 55%, #D3D0D6 78%, #F4F2F4 100%);
  --shadow: 0 18px 40px -24px rgba(110, 50, 45, .28);  /* the one soft shadow */

  --almond: 50% 50% 46% 46% / 64% 64% 36% 36%;
  --serif: "Noto Serif Armenian", "Sylfaen", "Noto Serif", Georgia, serif;
  --sans: "Noto Sans Armenian", "Noto Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cherry);
  outline-offset: 3px;
  border-radius: 6px;
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Film grain — tactile paper feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .13 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.h2, .h3, .hero-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0;
}
.h2 {
  font-size: clamp(1.9rem, 7vw, 2.9rem);
  line-height: 1.12;
  position: relative;
  display: inline-block;
}
.h3 { font-size: 1.18rem; line-height: 1.3; }

.label {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--muted-ink);
  margin-bottom: 14px;
}
.label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--muted);
}

.caption {
  margin-top: 10px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

.section-sub {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--muted-ink);
}

.ico {
  width: 1.1em; height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
}

.sparkle {
  fill: none;
  stroke: var(--cherry);
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.sparkle--inline {
  position: absolute;
  top: -.35em;
  right: -1.05em;
  width: .72em;
  height: .72em;
  transform: rotate(8deg);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: var(--pad);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--cherry); color: #fff; }
.btn-primary:hover { background: var(--cherry-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  --pad: 12px 20px;
  font-size: .95rem;
}
.btn-ghost:hover { border-color: var(--cherry); color: var(--cherry); }
.btn-block { width: 100%; }

.btn .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: .92; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  line-height: 1.2;
  align-self: center;
}
.text-link:hover { color: var(--cherry); }

.text-btn {
  background: none;
  border: 0;
  padding: 10px 4px;
  min-height: 44px;
  color: var(--muted-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: .9rem;
}
.text-btn:hover { color: var(--cherry); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .18s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--milk); }
.pill:active { transform: scale(.98); }

/* ---------- 1. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: var(--milk);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.brand-mark {
  width: 15px; height: 21px;
  fill: var(--cherry);
  transform: rotate(-12deg);
}
.brand-mark.is-spinning { animation: markTurn .8s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes markTurn {
  0%   { transform: rotate(-12deg); }
  45%  { transform: rotate(78deg); }   /* 90° to the right */
  60%  { transform: rotate(78deg); }
  100% { transform: rotate(-12deg); }  /* back in place */
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Owner mode ---------- */
.admin-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 1px dashed var(--cherry);
  border-radius: 999px;
  background: var(--milk);
  color: var(--cherry);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, transform .18s var(--ease);
}
.admin-add:hover { background: #FBEDEB; }
.admin-add:active { transform: scale(.98); }
.admin-add .spinner {
  display: none;
  width: 16px; height: 16px;
  border: 1.5px solid rgba(142, 31, 47, .3);
  border-top-color: var(--cherry);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.admin-add.is-loading { pointer-events: none; }
.admin-add.is-loading .spinner { display: inline-block; }
.admin-add.is-loading .ico { display: none; }

.admin-del {
  position: absolute;
  z-index: 2;
  top: 10px; right: 10px;
  min-width: 44px; height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(142, 31, 47, .3);
  border-radius: 999px;
  background: var(--milk);
  color: var(--cherry);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.admin-del .ico { width: 18px; height: 18px; }
.admin-del-label { display: none; }
.admin-del.is-armed { background: var(--cherry); color: #fff; border-color: var(--cherry); }
.admin-del.is-armed .admin-del-label { display: inline; }
.admin-del.is-loading { opacity: .6; pointer-events: none; }
.review-card { position: relative; }
.is-admin .review-card .review-head { padding-right: 52px; }

.is-error { animation: shake .45s ease; }
.admin-add.is-error, .admin-del.is-error { border-color: var(--cherry); background: #FBEDEB; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
#admin-login .modal-inner { padding-top: 34px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 56px; }
.pw-toggle {
  position: absolute;
  top: 3px; right: 4px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted-ink);
  cursor: pointer;
}
.pw-toggle:hover { color: var(--cherry); }
.pw-toggle .ico { width: 22px; height: 22px; }
.pw-toggle .ico-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] { color: var(--cherry); }
.pw-toggle[aria-pressed="true"] .ico-eye { display: none; }
.pw-toggle[aria-pressed="true"] .ico-eye-off { display: inline; }

@media (max-width: 400px) {
  .header-actions { gap: 6px; }
  .admin-add { padding: 0 12px 0 9px; font-size: .84rem; }
  .pill { padding: 0 14px; }
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 24px) 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 8px;
}
.hero-title {
  font-size: clamp(2.35rem, 10.5vw, 4.6rem);
  line-height: 1.06;
  font-weight: 500;
  max-width: 11ch;
}
.hero-sub {
  margin-top: 18px;
  max-width: 30ch;
  font-size: 1.06rem;
  color: var(--muted-ink);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.hero-visual {
  position: relative;
  width: min(74%, 290px);
  aspect-ratio: 1 / 1.02;
  margin: -12px -6px 0 auto;
}
.palette {
  position: absolute;
  inset: 12% 4% 6% 10%;
  border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%;
  background: var(--cream);
  border: 1px solid var(--line-soft);
}
.swatch {
  position: absolute;
  border-radius: var(--almond);
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
/* glazed sheen */
.swatch::after {
  content: "";
  position: absolute;
  top: 12%; left: 22%;
  width: 22%; height: 46%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,0));
  filter: blur(1px);
  transform: rotate(-8deg);
}
.swatch--blush  { width: 34%; height: 52%; left: 14%; top: 10%; background: var(--blush); --r: -14deg; }
.swatch--milk   { width: 30%; height: 46%; left: 40%; top: 20%; background: #FFFDFB; border: 1px solid var(--line-soft); --r: 6deg; animation-delay: -2s; }
.swatch--cherry { width: 28%; height: 44%; left: 62%; top: 36%; background: var(--cherry); --r: 18deg; animation-delay: -4s; }
.swatch--cherry::after { background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); }
.swatch--pearl  { width: 22%; height: 34%; left: 30%; top: 56%; background: var(--pearl); border: 1px solid rgba(43,34,34,.06); --r: -28deg; animation-delay: -1s; }
.swatch--rose   { width: 16%; height: 25%; left: 8%;  top: 60%; background: var(--rose); --r: -40deg; animation-delay: -5s; }
.swatch { transform: rotate(var(--r)); }

.sparkle--a { position: absolute; width: 26px; height: 26px; right: 6%; top: 8%; }
.sparkle--b { position: absolute; width: 16px; height: 16px; left: 4%; top: 38%; transform: rotate(-14deg); stroke: var(--rose); }

@keyframes float {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50%      { transform: rotate(var(--r)) translateY(-6px); }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 76px 0;
  scroll-margin-top: var(--header-h);
}
.section--cream { background: var(--cream); }
.section-head { position: relative; }
.section-head--right { text-align: right; }
.section-head--right .label { flex-direction: row-reverse; margin-left: auto; }

/* ---------- 3. Prices: printed menu card ---------- */
.prices-grid { display: grid; gap: 32px; }
.menu-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 22px 26px;
  outline: 1px solid var(--line-soft);
  outline-offset: -8px;
}
.menu-group + .menu-group { margin-top: 26px; }
.menu-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin: 0 0 10px;
}
.menu-group-title::before {
  content: "";
  width: 9px; height: 13px;
  border-radius: var(--almond);
  background: var(--rose);
  flex: none;
}
.menu-item { padding: 9px 0; }
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.menu-name { font-size: 1.02rem; }
.menu-leader {
  flex: 1;
  min-width: 18px;
  border-bottom: 1.5px dotted rgba(43,34,34,.32);
  transform: translateY(-4px);
}
.menu-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-item.is-key .menu-price { color: var(--cherry); }
.menu-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 11px 3px 9px;
  border-radius: 999px;
  background: var(--milk);
  border: 1px solid rgba(142, 31, 47, .28);
  color: var(--cherry);
  font-size: .8rem;
  font-weight: 500;
}
.menu-note::before {
  content: "";
  width: 6px; height: 8px;
  border-radius: var(--almond);
  background: var(--cherry);
}

/* ---------- 4. Works ---------- */
.works-empty {
  margin-top: 36px;
  padding: 40px 20px 36px;
  border: 1px dashed rgba(43,34,34,.2);
  border-radius: 180px 180px 28px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 520px;
}
.empty-swatches { display: flex; gap: 16px; align-items: flex-end; }
.empty-swatch {
  width: 50px; height: 76px;
  border-radius: var(--almond);
  border: 1px solid var(--line);
}
.empty-swatch--blush  { background: var(--blush); transform: rotate(-10deg); }
.empty-swatch--milk   { background: #FFFDFB; height: 88px; }
.empty-swatch--cherry { background: var(--cherry); border-color: transparent; transform: rotate(10deg); }
.works-empty-text {
  font-family: var(--serif);
  font-size: 1.12rem;
  max-width: 22ch;
}

.works-row {
  margin: 32px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 12px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.works-row::-webkit-scrollbar { display: none; }
.work-item {
  position: relative;
  flex: 0 0 72%;
  scroll-snap-align: center;
}
.work {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--blush);
  border-radius: 999px 999px 26px 26px / 44% 44% 26px 26px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: var(--ar, 3 / 4);
}
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.work:hover img { transform: scale(1.03); }

/* ---------- 5. Comfort ---------- */
.comfort { overflow: hidden; }
.comfort-grid { position: relative; display: grid; gap: 36px; }
.comfort-shape {
  position: absolute;
  z-index: 0;
  right: -90px;
  top: -30px;
  width: 260px;
  height: 380px;
  border-radius: var(--almond);
  background: var(--blush);
  opacity: .55;
  transform: rotate(18deg);
}
.comfort-grid > :not(.comfort-shape) { position: relative; z-index: 1; }
.comfort-list { display: grid; gap: 34px; counter-reset: c; }
.comfort-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
}
.comfort-item:nth-child(2) { margin-left: 22px; }
.comfort-item:nth-child(3) { margin-left: 8px; }
.comfort-icon {
  grid-row: span 2;
  width: 52px; height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 31, 47, .35);
  border-radius: var(--almond);
  background: var(--milk);
  color: var(--cherry);
}
.comfort-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  margin-top: 4px;
}
.comfort-item p { color: var(--muted-ink); }

/* ---------- 6. Booking ---------- */
.booking-grid { display: grid; gap: 30px; }
.hours-line {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted-ink);
}
.form-card {
  position: relative;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px 20px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend {
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(43,34,34,.22);
  border-radius: 16px;
  background: #FFFDFB;
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9A8C88; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cherry);
  box-shadow: 0 0 0 3px rgba(142, 31, 47, .14);
}
.field [aria-invalid="true"] { border-color: var(--cherry); background: #FFF8F7; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 44px; cursor: pointer; }
.field-error {
  min-height: 0;
  font-size: .82rem;
  color: var(--cherry);
  line-height: 1.4;
}
.field-error:empty { display: none; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.counter { margin-left: auto; font-size: .78rem; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--cherry); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  font-size: .9rem;
  color: var(--cherry);
  background: #FBEDEB;
  border-radius: 14px;
  padding: 12px 14px;
}
.form-error a { font-weight: 600; white-space: nowrap; }

.form-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 26px 8px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
  animation: fadeUp .6s var(--ease) both;
}
.form-success:focus { outline: none; }
.success-mark {
  width: 34px; height: 34px;
  fill: none; stroke: var(--cherry); stroke-width: 1.1;
}
#booking-form.is-leaving { animation: fadeOut .35s ease-in forwards; }
@keyframes fadeOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.quick-contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-contacts .btn-ghost { background: var(--milk); }
.quick-contacts .ico { width: 1.15em; height: 1.15em; color: var(--cherry); }

/* ---------- 7. Reviews ---------- */
.reviews-summary {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.reviews-summary .star-char { color: var(--cherry); }

.reviews-list {
  margin: 30px calc(var(--gutter) * -1) 0;
  padding: 4px var(--gutter) 14px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews-list::-webkit-scrollbar { display: none; }
.reviews-list:empty { display: none; }
.review-card {
  flex: 0 0 84%;
  scroll-snap-align: center;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 20px 20px 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  width: 38px; height: 48px;
  border-radius: var(--almond);
  background: var(--blush);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--cherry-deep);
  padding-top: 4px;
}
.review-name { font-weight: 500; line-height: 1.3; }
.review-stars { display: flex; gap: 2px; margin-top: 2px; }
.review-stars svg { width: 14px; height: 14px; fill: var(--cherry); stroke: var(--cherry); stroke-width: 1; }
.review-stars svg.is-off { fill: none; stroke: rgba(142,31,47,.35); }
.review-text { white-space: pre-line; overflow-wrap: anywhere; }
.review-date { font-size: .8rem; color: var(--muted-ink); }
.reviews-empty {
  margin-top: 28px;
  padding: 36px 16px 32px;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  border: 1px dashed rgba(43, 34, 34, .18);
  border-radius: 28px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.reviews-empty-swatches { display: flex; align-items: flex-end; padding-left: 16px; }
.re-swatch {
  width: 40px; height: 60px;
  margin-left: -16px;
  border-radius: var(--almond);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.re-swatch--blush  { background: var(--blush); transform: rotate(-14deg); }
.re-swatch--milk   { background: #FFFDFB; height: 68px; position: relative; z-index: 1; }
.re-swatch--cherry { background: var(--cherry); border-color: transparent; transform: rotate(14deg); position: relative; z-index: 2; }

.gsi-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(43, 34, 34, .25);
  border-radius: 999px;
  background: #FFF;
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(43, 34, 34, .08);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.gsi-placeholder:hover {
  background: #FDFBFA;
  border-color: rgba(43, 34, 34, .45);
  box-shadow: 0 2px 8px rgba(43, 34, 34, .12);
}
.gsi-placeholder:active {
  transform: scale(0.98);
}
.gsi-icon {
  flex-shrink: 0;
  display: block;
}
.preview-badge {
  justify-self: start;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
}
.reviews-more-wrap { margin-top: 14px; }

.rw-state { display: grid; gap: 16px; }
.rw-lead { font-family: var(--serif); font-size: 1.14rem; line-height: 1.4; }
.rw-note { font-size: .82rem; color: var(--muted-ink); line-height: 1.5; }
.rw-note--existing {
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
}
.rw-expired { font-size: .9rem; color: var(--cherry); }
.gsi-slot { min-height: 44px; }
.rw-hello { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rw-hello p { font-family: var(--serif); font-size: 1.2rem; }
.rw-inapp-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Star rating (radio group) */
.stars { display: flex; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.stars label {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.stars svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: rgba(142,31,47,.55);
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: fill .15s, stroke .15s, transform .15s var(--ease);
}
.stars label.is-on svg { fill: var(--cherry); stroke: var(--cherry); }
.stars label:active svg { transform: scale(.9); }
.stars input:focus-visible + label { outline: 2px solid var(--cherry); outline-offset: 1px; }

/* ---------- 8. Location ---------- */
.location-grid { display: grid; gap: 30px; }
.address {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.04rem;
  max-width: 32ch;
}
.address .ico { margin-top: 4px; color: var(--cherry); }
.map-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.map-actions .btn-ghost { background: var(--milk); }
.map-frame {
  position: relative;
  border-radius: 200px 200px 28px 28px / 150px 150px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--blush);
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.8) sepia(.08); }

/* ---------- 9. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 calc(40px + 76px + env(safe-area-inset-bottom));
  font-size: .9rem;
  color: var(--muted-ink);
}
.footer-inner { display: grid; gap: 8px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.footer-brand span:empty { display: none; }
.site-footer a { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: 10px 0; margin: -10px 0; }
.footer-hours { display: inline-flex; align-items: center; gap: 8px; }
.footer-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
@media (min-width: 768px) { .footer-meta { margin-top: 0; justify-self: end; } }
.sparkle--chrome {
  width: 16px; height: 16px;
  stroke: #A7A3AB;
  fill: url(#pearl);
  stroke-width: .9;
}

/* ---------- Modals ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
.modal {
  width: min(92vw, 460px);
  border-radius: 28px;
  background: var(--milk);
  box-shadow: var(--shadow);
}
.modal::backdrop, .lightbox::backdrop { background: rgba(43, 34, 34, .45); }
.modal-inner { padding: 30px 24px 26px; display: grid; gap: 14px; position: relative; }
.modal-inner p { color: var(--ink); }
.modal-inner a { color: var(--cherry); font-weight: 500; white-space: nowrap; }
.modal-close, .lb-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--cream); }
.modal[open] { animation: fadeUp .35s var(--ease); }

.lightbox {
  width: 100vw; height: 100dvh;
  max-width: 100vw; max-height: 100dvh;
  background: transparent;
  display: none;
  place-items: center;
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 84dvh;
  width: auto; height: auto;
  border-radius: 24px;
  object-fit: contain;
  touch-action: pan-y;
}
.lb-close { color: #fff; font-size: 2rem; top: 14px; right: 14px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(43,34,34,.25);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ---------- 10. Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  z-index: 45;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 242, .96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar-cta { flex: 1; min-height: 52px; font-size: 1.05rem; }
.icon-btn {
  flex: none;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--milk);
  color: var(--cherry);
}
.icon-btn svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-btn:active { transform: scale(.96); }

/* ---------- Reveal motion ---------- */
.reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-pending.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet & up
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 36px; --header-h: 72px; }
  body { font-size: 17px; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 44px; }

  .hero { padding: calc(var(--header-h) + 56px) 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; }
  .hero-visual { width: 100%; max-width: 420px; margin: 0 0 0 auto; }

  .section { padding: 108px 0; }

  .prices-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .prices .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
  .menu-card { padding: 42px 44px 36px; }

  .works-empty { margin-left: auto; margin-right: 0; }
  .works-row {
    margin: 40px 0 0;
    padding: 0;
    display: block;
    columns: 3;
    column-gap: 18px;
    overflow: visible;
  }
  .work-item { width: 100%; margin: 0 0 18px; break-inside: avoid; display: block; }
  .work-item:nth-child(3n+2) { --ar: 4 / 5; }
  .work-item:nth-child(3n) { --ar: 1 / 1.2; }

  .comfort-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .comfort-shape { right: auto; left: -60px; top: 40px; width: 300px; height: 440px; }
  .comfort .section-head { padding-top: 40px; }
  .comfort-item:nth-child(2) { margin-left: 64px; }
  .comfort-item:nth-child(3) { margin-left: 24px; }

  .booking-grid { grid-template-columns: .85fr 1.15fr; column-gap: 56px; row-gap: 24px; align-items: start; }
  .booking .form-card { grid-row: span 2; padding: 34px 32px; }
  .quick-contacts { align-self: end; }

  .reviews-list {
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    overflow: visible;
    max-width: 900px;
  }
  .review-card:nth-child(even) { transform: translateY(36px); }
  .reviews-more-wrap { margin-top: 56px; }

  .location-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .map-frame { aspect-ratio: 4 / 3.4; }

  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; column-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .hero-title { max-width: 12ch; }

}

@media (hover: hover) {
  .stars label:hover { background: rgba(239, 214, 210, .5); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .swatch { animation: none; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .btn:active, .pill:active, .icon-btn:active { transform: none; }
}

/* hide Edge/IE built-in reveal button — we have our own eye toggle */
.pw-wrap input::-ms-reveal, .pw-wrap input::-ms-clear { display: none; }

/* ---------- Scrollbar (matches the palette) ---------- */
html {
  scrollbar-color: var(--rose) var(--cream);   /* Firefox, Chrome 121+, Edge */
  scrollbar-width: thin;
}
textarea { scrollbar-color: var(--blush) transparent; scrollbar-width: thin; }

/* Safari & older Chromium */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--rose);
  border: 2px solid var(--cream);   /* floating, almond-soft pill */
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--cherry); }
::-webkit-scrollbar-corner { background: var(--cream); }
textarea::-webkit-scrollbar-track { background: transparent; }
textarea::-webkit-scrollbar-thumb { background: var(--blush); border-color: #FFFDFB; }


/* ==========================================================================
   Reviews: «Ավելացնել կարծիք» button + modal
   ========================================================================== */
.reviews-add { width: 100%; margin-top: 22px; gap: 10px; }
.reviews-add .ico { width: 1.15em; height: 1.15em; }
@media (min-width: 900px) {
  .reviews-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .reviews-add { width: auto; margin: 0; flex: none; padding: 14px 28px; }
}

html.rv-lock { overflow: hidden; }

.rv-modal {
  width: calc(100% - 32px);
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.rv-modal::backdrop { background: rgba(43, 34, 34, .45); }
.rv-sheet {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 28px 28px;
  box-shadow: var(--shadow);
}
.rv-handle { display: none; }
.rv-almond {
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 30px;
  width: 24px;
  height: 34px;
  border-radius: var(--almond);
  background: var(--blush);
  border: 1px solid var(--line-soft);
  transform: rotate(-14deg);
  pointer-events: none;
}
.rv-modal[open] .rv-almond { animation: rvFade .32s ease both; }
.rv-modal.is-closing .rv-almond { opacity: 0; transition: opacity .15s; }
@media (max-width: 767px) { .rv-almond { left: auto; right: 64px; top: -14px; } }
.rv-close { z-index: 3; }
.rv-state { position: relative; z-index: 1; display: grid; gap: 16px; }
.rv-state.is-entering { animation: fadeUp .3s var(--ease) both; }
.rv-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.35; margin: 0; padding-right: 36px; }
.rv-title:focus { outline: none; }
.rv-text { color: var(--muted-ink); }
.rv-signin { display: grid; }
.gsi-slot { min-height: 44px; display: flex; justify-content: center; }
.gsi-placeholder { justify-self: stretch; }
.gsi-skeleton {
  display: block;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(90deg, var(--cream) 0%, #FBF7F4 45%, var(--cream) 90%);
  background-size: 220% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.rv-inapp { display: grid; gap: 14px; }
.rv-inapp-text { font-weight: 500; }
.rv-success { justify-items: center; text-align: center; padding: 18px 0 6px; }
.rv-success .rv-title { padding-right: 0; }

/* open / close animations */
.rv-modal[open] .rv-sheet { animation: rvIn .32s var(--ease) both; }
.rv-modal[open]::backdrop { animation: rvFade .32s ease both; }
.rv-modal.is-closing .rv-sheet { animation: rvOut .22s ease-in both; }
.rv-modal.is-closing::backdrop { animation: rvFade .22s ease-in reverse both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rvOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes rvFade { from { opacity: 0; } to { opacity: 1; } }

/* Mobile: bottom sheet */
@media (max-width: 767px) {
  .rv-modal {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
  }
  .rv-sheet {
    max-height: 92dvh;
    border-radius: 28px 28px 0 0;
    border-bottom: 0;
    padding: 34px 22px calc(26px + env(safe-area-inset-bottom));
  }
  .rv-handle {
    display: block;
    position: absolute;
    top: 10px; left: 50%;
    width: 42px; height: 4px;
    margin-left: -21px;
    border-radius: 4px;
    background: rgba(43, 34, 34, .22);
  }
  .rv-modal[open] .rv-sheet { animation: rvSheetIn .36s var(--ease) both; }
  .rv-modal.is-closing .rv-sheet { animation: rvSheetOut .22s ease-in both; }
  @keyframes rvSheetIn { from { transform: translateY(100%); } to { transform: none; } }
  @keyframes rvSheetOut { to { transform: translateY(100%); } }
}

/* Preview-only dev switcher (the markup exists only with ?preview=reviews) */
.rv-dev {
  position: relative; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: -14px 40px 18px 0;
}
.rv-dev button {
  min-width: 40px; min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: .75rem;
  cursor: pointer;
}
.rv-dev button[aria-pressed="true"] { background: var(--ink); color: var(--milk); border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .rv-modal[open] .rv-sheet, .rv-modal[open]::backdrop,
  .rv-modal.is-closing .rv-sheet, .rv-modal.is-closing::backdrop,
  .rv-state.is-entering, .gsi-skeleton { animation: none !important; }
}
