/* Peri — light minimal beauty style. Mobile first. */

:root {
  --bg: #faf6f2;
  --surface: #ffffff;
  --tint: #f3ebe4;
  --ink: #2c2420;
  --muted: #74655d;
  --line: #e6d9cf;
  --accent: #9a6253;
  --accent-hover: #844f41;
  --blush-1: #f1dfd4;
  --blush-2: #dcb9a8;
  --radius: 18px;
  --serif: "Cormorant Garamond", "Noto Serif Georgian", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6vw, 2.8rem); text-align: center; }
h3 { font-size: 1.45rem; }
/* Georgian headings are drawn by Noto Serif Georgian, which is larger — tone it down. */
.lang-ka h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
.lang-ka h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.lang-ka h3 { font-size: 1.15rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin: 24px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--accent); margin: 0 0 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  text-decoration: none; font-weight: 500; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--blush-2); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 242, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { font: 500 2rem/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .05em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo--small { font-size: 1.5rem; }
.nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__actions .btn--small { display: none; }

/* Language switcher */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; user-select: none;
  min-height: 40px; min-width: 52px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); font-size: .85rem; letter-spacing: .08em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary { background: var(--surface); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; min-width: 170px;
  box-shadow: 0 12px 30px rgba(60, 40, 30, .08);
}
.lang__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.lang__list a:hover { background: var(--tint); }
.lang__list a[aria-current] { color: var(--accent); font-weight: 600; }

/* Hero */
.hero { padding: 36px 0 48px; overflow: hidden; }
.hero__inner > .hero__art { order: -1; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__text { text-align: center; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__art { display: flex; justify-content: center; position: relative; }
.hero__art::before {
  content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--blush-2); right: 4%; top: -6%;
}
.arch {
  position: relative; width: min(48vw, 340px); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(165deg, var(--blush-1) 0%, var(--blush-2) 100%);
  display: grid; place-items: center;
}
.arch span { font: 400 clamp(6rem, 30vw, 10rem)/1 "Cormorant Garamond", Georgia, serif; color: rgba(255, 255, 255, .78); }

/* Sections */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }

.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.features__num { display: block; font: 500 1rem var(--serif); color: var(--accent); margin-bottom: 8px; letter-spacing: .1em; }
.features p { margin: 0; color: var(--muted); }

/* Price list */
.price-grid { display: grid; gap: 20px; margin-top: 32px; }
.price { background: var(--surface); border-radius: var(--radius); padding: 24px 20px; }
.price h3 { margin-bottom: 12px; }
.price ul { list-style: none; margin: 0; padding: 0; }
.price li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price li:last-child { border-bottom: 0; }
.price__name { flex: 0 1 auto; }
.price__dots { flex: 1 1 12px; border-bottom: 1px dotted var(--blush-2); transform: translateY(-4px); min-width: 12px; }
.price__value { white-space: nowrap; font-weight: 500; }

/* Team */
.team { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 28px; grid-template-columns: 1fr; text-align: center; }
.member__photo {
  width: 168px; aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fff 0 17%, transparent 18%),
              radial-gradient(ellipse at 50% 92%, #fff 0 34%, transparent 35%),
              linear-gradient(160deg, var(--blush-1), var(--blush-2));
  opacity: .9;
}
.member h3 { margin-bottom: 4px; }
.member p { margin: 0; color: var(--muted); }

/* Gallery placeholders */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 32px 0; }
.tile {
  aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center;
  color: rgba(44, 36, 32, .45); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 8px;
}
.tile--1 { background: linear-gradient(140deg, #f3e3d9, #e2c4b5); }
.tile--2 { background: linear-gradient(140deg, #efe6df, #d8c6ba); }
.tile--3 { background: linear-gradient(140deg, #f6e9e4, #e7cbc4); }
.tile--4 { background: linear-gradient(140deg, #ece0d6, #d6bba9); }
.tile--5 { background: linear-gradient(140deg, #f4e7dc, #e6d0bf); }
.tile--6 { background: linear-gradient(140deg, #efdcd3, #dab6a6); }

/* Contacts */
.contacts { display: grid; gap: 32px; }
.contacts h2 { text-align: left; }
.info { margin: 0; display: grid; gap: 4px; }
.info dt { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--muted); margin-top: 14px; }
.info dd { margin: 0; font-size: 1.05rem; }
.contacts__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--tint); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.35) sepia(.08); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer a { color: var(--muted); }

/* Sticky booking bar on phones */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 242, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .header__actions .btn--small { display: inline-flex; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .bookbar { display: none; }
  .nav { display: flex; gap: 28px; margin-left: 40px; }
  .nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
  .nav a:hover { color: var(--accent); }
  .hero { padding: 72px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__text { text-align: left; }
  .hero__cta { justify-content: flex-start; }
  .section { padding: 96px 0; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .contacts { grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 48px; }
  .footer__inner { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (min-width: 900px) {
  .hero__inner > .hero__art { order: 0; }
}

/* Georgian has no lowercase/uppercase pairs in normal text: keep small labels as written. */
.lang-ka .eyebrow, .lang-ka .info dt, .lang-ka .tile { text-transform: none; letter-spacing: .03em; }

/* Team: compact cards with initials until photos arrive */
.team { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
.member__photo {
  width: 96px; display: grid; place-items: center; object-fit: cover;
  background: linear-gradient(160deg, var(--blush-1), var(--blush-2));
  font: 500 2.4rem/1 var(--serif); color: #fff;
}
.member h3 { font-size: 1.3rem; }
.member p { font-size: .9rem; }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.tile:has(img) { padding: 0; overflow: hidden; }
@media (min-width: 600px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .team { grid-template-columns: repeat(5, 1fr); gap: 36px 20px; }
  .member__photo { width: 120px; }
}

/* Real photos */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.arch { overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
