:root {
  --bg: #f7eee8;
  --ink: #3b2a2f;
  --muted: #7d6467;
  --gold: #b98a5e;
  --gold-2: #e2c39a;
  --plum: #4a2c34;
  --plum-2: #6e3c48;
  --card: rgba(255, 255, 255, .62);
  --line: rgba(185, 138, 94, .28);
  --serif: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;
  --sans: "Manrope", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 40% at 0% 0%, rgba(232, 190, 182, .75), transparent 70%),
    radial-gradient(55% 45% at 100% 30%, rgba(243, 214, 182, .8), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(226, 196, 205, .7), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
/* лёгкое «зерно», чтобы фон выглядел как бумага, а не плоская заливка */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page { position: relative; max-width: 440px; margin: 0 auto; padding: 0 20px 40px; }

/* ---------- первый экран ---------- */
.hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 58px 0 26px; gap: 0;
}
.avatar {
  width: 128px; height: 128px; border-radius: 50%; padding: 4px;
  background: conic-gradient(from 210deg, var(--gold), var(--gold-2), #f6e7d3, var(--gold), #c99a9f, var(--gold));
  box-shadow: 0 14px 34px -14px rgba(74, 44, 52, .55);
}
.avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fbf5f0; }

.name {
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 50px; line-height: 1;
  margin-top: 14px; letter-spacing: .5px;
  background: linear-gradient(100deg, var(--plum) 10%, #9b5e5b 55%, var(--gold) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.role {
  margin-top: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted);
}
.role .sep { color: var(--gold); margin: 0 6px; }
.tagline {
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--plum-2); margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
}
.tagline::before, .tagline::after { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.hint { margin-top: 12px; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 340px; }

.actions { width: 100%; margin-top: 18px; display: grid; gap: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 14px; border-radius: 16px; text-decoration: none;
  font-weight: 600; font-size: 17px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -12px rgba(74, 44, 52, .45);
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-main {
  min-height: 60px; font-size: 18px; color: #fff; border: 0;
  background: linear-gradient(120deg, var(--plum), var(--plum-2));
  box-shadow: 0 12px 26px -12px rgba(74, 44, 52, .8);
}
.btn-main svg { width: 24px; height: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ic-wa { color: #25d366; } .btn-main .ic-wa { color: #fff; }
.ic-tg { color: #2aabee; } .ic-fb { color: #1877f2; } .ic-call { color: var(--plum-2); }
.ic-ig { color: #d62976; }

.phone { margin-top: 14px; font-size: 17px; color: var(--muted); text-decoration: none; letter-spacing: .5px; }
.phone b { color: var(--ink); font-weight: 600; }

.scroll-cue { margin-top: 14px; color: var(--gold); opacity: .8; animation: bob 2.2s ease-in-out infinite; }
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* ---------- о себе ---------- */
.about {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: center;
}
.about + .about { margin-top: 14px; }
.about h2 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 29px; color: var(--plum); line-height: 1.2; }
.about p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.about .sign { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--gold); margin-top: 14px; }

.foot { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--muted); letter-spacing: 1px; }

/* ---------- переключатель языка ---------- */
.lang {
  position: absolute; top: 12px; right: 12px; z-index: 5; display: flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lang button {
  font: 600 14px var(--sans); color: var(--muted); background: none; border: 0; border-radius: 999px;
  padding: 7px 12px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.lang button[aria-pressed="true"] { background: var(--plum); color: #fff; }

/* двуязычные подписи на кнопках (вариант «обе языка сразу») */
.two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.two small { font-size: 12px; font-weight: 500; opacity: .75; }

/* невысокие телефоны (iPhone SE и т.п.) — ужимаем первый экран */
@media (max-height: 700px) {
  .avatar { width: 108px; height: 108px; }
  .name { font-size: 44px; margin-top: 10px; }
  .hint { margin-top: 8px; }
  .actions { margin-top: 14px; gap: 8px; }
  .grid2 { gap: 8px; }
  .btn { min-height: 48px; }
  .btn-main { min-height: 54px; }
  .scroll-cue { display: none; }
}

/* у грузинского письма нет курсива — браузер «косит» буквы искусственно; ставим прямое начертание */
.about h2:lang(ka), .tagline:lang(ka), .sign:lang(ka) { font-style: normal; }
.about h2:lang(ka) { font-size: 23px; line-height: 1.4; }
.sign:lang(ka) { font-size: 19px; }
.tagline small:lang(ru) { font-style: italic; }

/* ---------- адрес салона ---------- */
.addr {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 16px 18px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.addr svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
.addr > span { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.addr b { font-size: 17px; font-weight: 600; }
.addr span span { font-size: 15px; color: var(--muted); }

/* ---------- переключатель темы ---------- */
.theme {
  position: absolute; top: 12px; left: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--plum);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-tap-highlight-color: transparent;
}
.theme svg { width: 20px; height: 20px; }
.theme .sun { display: none; }
.waves { display: none; }

/* ---------- карта под адресом ---------- */
.map { margin-top: 10px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--card); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
