:root {
  --bg: #120e10;
  --surface: #1b1518;
  --raised: #241c20;
  --line: #392c32;
  --line-soft: #2c2227;
  --pink: #f2a7bf;
  --pink-deep: #d9789a;
  --pink-glow: rgba(242, 167, 191, 0.35);
  --text: #f7ecef;
  --muted: #b3a0a7;
  --faint: #6e5d63;
  --radius: 14px;
  --script: "Great Vibes", "Cormorant Garamond", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--pink-deep); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(217, 120, 154, 0.22) 0, transparent 50%),
    radial-gradient(ellipse at 5% 95%, rgba(242, 167, 191, 0.12) 0, transparent 45%),
    var(--bg);
  padding: 0 20px 80px;
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo {
  font-family: var(--script);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--pink);
}
.logo span {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-left: 2px;
}
.nav-cta {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 2px;
  background: linear-gradient(var(--pink), var(--pink)) left bottom / 100% 1px no-repeat;
  transition: background-size 0.3s var(--ease), color 0.2s;
}
.nav-cta:hover { color: var(--pink); background-size: 0 1px; }
.hero-inner { max-width: 1080px; margin: 0 auto; padding-top: 56px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pink);
  margin: 0 0 10px;
}
.hero h1 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.4rem, 10vw, 6.4rem);
  line-height: 1.05;
  margin: 0 0 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--pink) 10%, #ffd9e4 50%, var(--pink-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { max-width: 520px; font-size: 1.08rem; color: var(--muted); margin: 0 0 34px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 1rem var(--sans);
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #2a1219;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--pink-glow); }
.btn-primary:disabled { opacity: 0.55; cursor: progress; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-block { width: 100%; }
.link-btn {
  background: none; border: 0; padding: 0;
  font: 500 0.9rem var(--sans); color: var(--pink);
  text-decoration: underline; cursor: pointer;
}

/* ---------- Country switcher ---------- */
.region {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 26px;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.region.ready { opacity: 1; transform: none; }
.region-prefix { color: var(--muted); font-size: 0.88rem; }
.region-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(27, 21, 24, 0.7);
  color: var(--text);
  font: 500 0.92rem var(--sans);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease);
}
.region-btn:hover, .region-btn[aria-expanded="true"] {
  border-color: rgba(242, 167, 191, 0.6);
  box-shadow: 0 8px 24px -12px var(--pink-glow);
}
.region-btn .caret { color: var(--pink); font-size: 0.75rem; transition: transform 0.25s var(--ease); }
.region-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.flag:empty { display: none; }
.flag svg { width: 100%; height: 100%; display: block; }
.region-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20;
  min-width: 270px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  animation: menuIn 0.22s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.region-option {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 0; border-radius: 11px;
  background: transparent; color: var(--text); text-align: left; cursor: pointer;
  font: 400 0.92rem var(--sans);
  transition: background 0.2s;
}
.region-option:hover { background: rgba(242, 167, 191, 0.1); }
.region-option strong { display: block; font-weight: 600; }
.region-option small { color: var(--muted); font-size: 0.8rem; }

/* ---------- Prices ---------- */
.price-hint { margin: -6px 0 18px; color: var(--muted); font-size: 0.9rem; }
.choice-grid.lengths { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.choice-grid.toes { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fine-print {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.fine-print strong { color: var(--text); font-weight: 600; }
.choice .price {
  font-style: normal; font-weight: 600; font-size: 0.95rem;
  color: var(--pink); margin-top: 8px;
}
.choice .price:empty { display: none; }
.summary .total {
  background: linear-gradient(160deg, rgba(242, 167, 191, 0.18), rgba(242, 167, 191, 0.05));
  border-color: rgba(242, 167, 191, 0.4);
}
.summary .total strong { color: var(--pink); font-size: 1.05rem; }
.footer-contacts a.local { order: -1; border-color: rgba(242, 167, 191, 0.5); }

.nav-links { display: flex; gap: 22px; }
.nav-cta { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-links { gap: 14px; }
  .nav-cta { font-size: 0.88rem; }
  .logo { font-size: 1.8rem; }
  .logo span { font-size: 1.15rem; }
}
@media (max-width: 380px) {
  #navGallery { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.section-head { text-align: center; margin-bottom: 24px; padding-top: 72px; }
.section-head p { color: var(--muted); margin: 0; }
.gallery { max-width: none; padding: 0; }
.carousel {
  overflow: hidden;
  padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.gallery-grid {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.carousel:hover .gallery-grid,
.carousel:focus-within .gallery-grid { animation-play-state: paused; }
/* The track holds the photos twice, and the gap is added back so the loop has no jump. */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}
.gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: 254px;
  aspect-ratio: 4 / 5;
  padding: 0; border: 1px solid var(--line-soft); border-radius: 16px;
  overflow: hidden; cursor: zoom-in; background: var(--raised);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.25s;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
  filter: saturate(0.95);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 14, 16, 0.55), transparent 45%);
  opacity: 0; transition: opacity 0.35s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 167, 191, 0.5);
  box-shadow: 0 18px 36px -18px var(--pink-glow);
}
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 7, 9, 0.92);
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 14px; object-fit: contain; }
.lb-btn {
  position: absolute;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(27, 21, 24, 0.8);
  color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lb-btn:hover { border-color: var(--pink); color: var(--pink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Booking ---------- */
.booking { max-width: 860px; margin: 0 auto 80px; padding: 0 16px; }
.booking-head { text-align: center; margin-bottom: 24px; padding-top: 72px; }
.section-head h2, .booking-head h2, .confirm h2 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  line-height: 1.1;
  color: var(--pink);
  margin: 0 0 6px;
}
.booking-head p { color: var(--muted); margin: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.step h3 {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 1.45rem; font-weight: 600; letter-spacing: 0.01em;
  margin: 0 0 18px;
}
.num {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(242, 167, 191, 0.12); color: var(--pink);
  border: 1px solid rgba(242, 167, 191, 0.3);
  font: 600 0.82rem var(--sans);
}
.field-label { font-weight: 500; margin: 24px 0 10px; }
.field-label:first-of-type { margin-top: 0; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }

/* ---------- Choice cards (location, length, soak off) ---------- */
.choice-grid { display: grid; gap: 12px; }
.choice-grid.two { grid-template-columns: repeat(2, 1fr); }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 2px;
  height: 100%;
  background: var(--raised);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.25s,
    box-shadow 0.35s var(--ease),
    background 0.25s;
}
/* light sweep across the card on hover */
.choice > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 220, 232, 0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.choice strong { transition: color 0.25s; }
.choice small { color: var(--muted); font-size: 0.85rem; }
.choice:hover > span {
  transform: translateY(-4px);
  border-color: rgba(242, 167, 191, 0.55);
  box-shadow: 0 14px 30px -14px var(--pink-glow), 0 0 0 1px rgba(242, 167, 191, 0.15);
}
.choice:hover > span::after { transform: translateX(120%); }
.choice:hover strong { color: var(--pink); }
.choice input:checked + span {
  border-color: var(--pink);
  background: linear-gradient(160deg, rgba(242, 167, 191, 0.16), rgba(242, 167, 191, 0.04));
  box-shadow: 0 0 0 1px var(--pink), 0 14px 30px -16px var(--pink-glow);
}
.choice input:checked + span strong { color: var(--pink); }
.choice input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 3px; }
.nail-icon {
  width: 22px; margin-bottom: 8px; color: var(--pink);
  transform-origin: bottom center;
  transition: transform 0.4s var(--ease);
}
.choice:hover .nail-icon { transform: scale(1.18) rotate(-6deg); }

/* ---------- Calendar ---------- */
.datetime { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.calendar { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }
.cal-nav {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--pink); color: var(--pink); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 0.75rem; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 10px;
  background: transparent; font: 500 0.92rem var(--sans); color: var(--text);
  cursor: pointer;
  transition: background 0.2s, transform 0.25s var(--ease), color 0.2s;
}
.cal-day:hover:not(:disabled) { background: rgba(242, 167, 191, 0.14); color: var(--pink); transform: scale(1.08); }
.cal-day:disabled { color: var(--faint); cursor: default; text-decoration: line-through; text-decoration-color: var(--line); }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.selected, .cal-day.selected:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #2a1219; font-weight: 600;
}

.times-label { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; }
.time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.time-btn {
  padding: 12px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--raised);
  font: 500 0.95rem var(--sans); color: var(--text); cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.2s, box-shadow 0.3s var(--ease), color 0.2s;
}
.time-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(242, 167, 191, 0.55);
  color: var(--pink);
  box-shadow: 0 10px 22px -14px var(--pink-glow);
}
.time-btn:disabled { color: var(--faint); background: transparent; border-color: var(--line-soft); cursor: default; text-decoration: line-through; }
.time-btn.selected, .time-btn.selected:hover {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  border-color: transparent; color: #2a1219; font-weight: 600;
}

/* ---------- Upload ---------- */
.upload {
  display: block; cursor: pointer; position: relative;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: var(--raised); padding: 24px; text-align: center;
  transition: border-color 0.25s, background 0.25s;
}
.upload:hover { border-color: var(--pink); background: rgba(242, 167, 191, 0.05); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.upload-empty small { color: var(--muted); }
.upload-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(242, 167, 191, 0.12); color: var(--pink); font-size: 1.5rem; margin-bottom: 6px;
  transition: transform 0.4s var(--ease);
}
.upload:hover .upload-icon { transform: rotate(90deg) scale(1.1); }
.upload-preview { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.upload-preview img { max-height: 220px; border-radius: 10px; object-fit: cover; }

/* ---------- Fields ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.95rem; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  font: 400 1rem var(--sans); color: var(--text);
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--raised);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(242, 167, 191, 0.15);
}
.field.invalid input { border-color: #e5737f; }

/* ---------- Summary ---------- */
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.summary:empty { display: none; }
.summary div { background: var(--raised); border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px 14px; }
.summary small { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.summary strong { font-weight: 600; }

.form-error {
  background: rgba(229, 115, 127, 0.12); color: #ffb3bb;
  border: 1px solid rgba(229, 115, 127, 0.35);
  border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 0.95rem;
}

/* ---------- Confirmation ---------- */
.confirm { text-align: center; margin-top: 20px; }
.confirm p { color: var(--muted); }
.confirm p strong { color: var(--text); }
.confirm .summary { text-align: left; margin: 24px 0; }
.confirm-mark {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #2a1219; font-size: 1.8rem;
}
.ref { font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer {
  text-align: center; padding: 44px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: 0.9rem;
}
.footer p { margin: 18px 0 0; }
.footer-contacts { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.footer-contacts a {
  display: flex; flex-direction: column;
  min-width: 190px; padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: transform 0.3s var(--ease), border-color 0.2s, color 0.2s;
}
.footer-contacts a small { color: var(--muted); font-weight: 400; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-contacts a:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--pink); }

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .card { padding: 20px 16px; border-radius: 18px; }
  .datetime { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .choice-grid.two { grid-template-columns: 1fr; }
  .hero { padding-bottom: 60px; }
  .hero-inner { padding-top: 28px; }
  .gallery-item { width: 178px; }
  .gallery-grid { gap: 12px; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
  }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
}
@media (max-width: 420px) {
  .choice-grid.three { grid-template-columns: 1fr; }
  .choice-grid.lengths, .choice-grid.toes { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .gallery-grid { animation-duration: 160s !important; }
}
