/* MERUERT TAZABEK — сайттың стилі. Алдымен телефон, сосын компьютер. */
:root {
  --bg: #EEEAE4;          /* жылы кілегей-сұр фон */
  --paper: #F5F2EE;       /* карточкалар */
  --ink: #2E2622;         /* негізгі мәтін */
  --ink-2: #3B302A;       /* қою қоңыр батырма */
  --muted: #8B8079;       /* екінші мәтін */
  --line: #D6CEC5;        /* жіңішке сызықтар */
  --free: #2E2622;
  --partial: #B9A99B;
  --radius: 28px;
  --radius-sm: 16px;
  --pad: 20px;
  --maxw: 1240px;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 14.5px/1.65 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
main { overflow-x: clip; }

/* ───── типографика ───── */
.h-page, .h-section, .hero-name, .pf-head h2, .block-title, .offer-title {
  font-weight: 500; /* тақырыптар — орташа қалыңдық */ text-transform: uppercase; letter-spacing: .06em; margin: 0;
}
.h-page { font-size: clamp(30px, 8vw, 64px); line-height: 1.05; text-align: center; }
.h-section { font-size: clamp(24px, 6.4vw, 40px); text-align: center; margin-bottom: 28px; }
.tagline { font: italic 400 19px/1.35 var(--serif); color: var(--ink-2); margin: 6px 0 14px; }
.note { font-size: 12.5px; color: var(--muted); }
.num {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink-2); color: var(--bg); font-size: 10px; font-weight: 500; letter-spacing: 0; flex: none;
}
.genre-cap { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.h-arrow svg { width: .72em; height: .72em; vertical-align: -0.06em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ───── батырмалар ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-dark { background: var(--ink-2); color: var(--bg); }
.btn-dark:hover { background: #1f1916; }
.btn-line { border: 1px solid var(--ink-2); }
.btn-line:hover { background: var(--ink-2); color: var(--bg); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 10px; }

/* ───── шапка ───── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.brand { font-size: 11.5px; font-weight: 500; letter-spacing: .17em; white-space: nowrap; }
.nav-desktop { display: none; }
.langs { margin-left: auto; display: flex; gap: 8px; font-size: 10.5px; letter-spacing: .12em; }
.langs a { color: var(--muted); padding: 6px 0; }
.langs a[aria-current] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.menu-btn { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: .01em; text-transform: none; padding: 6px 0 6px 6px; } /* ҚАЗ: «Мәзір» — курсив */

.menu {
  position: fixed; inset: 60px 0 0; z-index: 29; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom));
  animation: fade .3s ease;
}
.menu[hidden] { display: none; }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 26px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em;
}
.menu-links span { font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.menu-links a[aria-current] { color: var(--muted); }
.menu-foot { display: grid; gap: 18px; }
.menu-social { display: flex; justify-content: center; gap: 28px; font-size: 11px; letter-spacing: .16em; }
body.menu-open { overflow: hidden; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ───── телефондағы шапка: MERUERT / TAZABEK екі жолда, «Бағалар» батырмасы ───── */
/* шапкадағы инициал «M.T.» — мәзір сөзімен бір шрифтте */
.brand { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: .02em; padding: 4px 0; justify-self: start; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; }
.hc { display: flex; align-items: center; gap: 12px; justify-self: center; } /* ортадағы топ */
.langs { gap: 7px; margin-left: 0; font-size: 8.5px; }
.langs a { padding: 3px 0; }
.menu-btn { justify-self: end; font-size: 26px; padding: 4px 0; }
.price-btn {
  flex: none; display: inline-flex; align-items: center; padding: 4px 7px;
  border: 1px solid rgba(59, 48, 42, .5); border-radius: 3px;
  font-size: 8.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.price-btn[aria-current] { background: var(--ink-2); color: var(--bg); }

/* ───── бөлімдер ───── */
.section { padding: 56px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.page-head { padding: 40px var(--pad) 8px; text-align: center; }
.page-head .note { max-width: 520px; margin: 18px auto 0; }
.jump { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ───── басты бет: hero ───── */
.hero { padding: 26px var(--pad) 8px; display: grid; gap: 22px; max-width: var(--maxw); margin: 0 auto; }
.hero-name { font-weight: 400; font-size: clamp(40px, 12.4vw, 104px); line-height: .98; letter-spacing: .02em; }
.hero-sub { margin: 8px 0 0; padding-left: calc(clamp(40px, 12.4vw, 104px) * .05); /* «M» әрпінің ішкі шегінісіне тураланады */ font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.hero-slider {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--line);
  touch-action: pan-y;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 3s ease-out; }
.slide.is-active img { transform: scale(1); }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.dots button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .3s, transform .3s; }
.dots button.is-active { background: #fff; transform: scale(1.3); }
.hero-actions { display: grid; gap: 12px; }

/* ───── портфолио карточкалары (басты бет) ───── */
.genre-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 6px;
  scroll-padding-inline: var(--pad); scrollbar-width: none;
}
.row-scroll, .gallery { scroll-padding-inline: var(--pad); }
.genre-row::-webkit-scrollbar, .row-scroll::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.genre-card { scroll-snap-align: start; display: block; }
.genre-img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--line); margin-bottom: 12px; }
.genre-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.genre-card:hover img { transform: scale(1.04); }
.genre-name { display: block; font-size: 17px; font-weight: 500; letter-spacing: .12em; margin-bottom: 2px; }

/* ───── мен туралы ───── */
/* басты бет: фото жартысында, мәтін жанында */
.home-about { display: grid; grid-template-columns: 44% 1fr; gap: 18px 18px; align-items: end; }
.home-about .about-rest { grid-column: 1 / -1; font-size: 15px; }
.home-about .about-intro { font-size: 14px; }
.home-about .about-intro p { margin: 0; }
.home-about .h-section { text-align: left; font-size: 18px; letter-spacing: .03em; white-space: nowrap; margin-bottom: 12px; }
.about-rest .btn { margin-top: 4px; }
/* «Мен туралы» беті: кішкентай фото ортада, астында мәтін */
.about-page { display: grid; justify-items: center; gap: 28px; padding-top: 16px; }
.about-page .about-photo { width: min(240px, 62vw); }
.about-page .about-text { max-width: 620px; text-align: center; }
.about-page .offer-actions { justify-content: center; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--paper); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-monogram {
  width: 100%; height: 100%; display: grid; place-items: center;
  font: italic 400 120px/1 var(--serif); color: var(--line);
  background: linear-gradient(160deg, var(--paper), #E4DDD4);
}
.about-text { font-size: 15px; }
.about-text .btn { margin-top: 8px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 var(--pad); max-width: var(--maxw); margin: 0 auto; }
.strip div { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* ───── пікірлер ───── */
.row-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
.shots {
  display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scroll-padding-inline: var(--pad);
}
.shots::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 80%; scroll-snap-align: start; margin: 0; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 12px 12px;
}
.shot::before { /* кішкентай «пікір» белгісі */
  content: '“'; position: absolute; top: 4px; left: 20px;
  font: italic 400 46px/1 var(--serif); color: var(--partial);
}
.shot .ph { width: 100%; border-radius: var(--radius-sm); background: #fff; cursor: zoom-in; }
.shot .ph img { width: 100%; height: auto; }

/* ───── портфолио беті ───── */
.chips {
  position: sticky; top: 60px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px var(--pad); background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 10.5px; letter-spacing: .14em; transition: all .25s;
}
.chips a.is-active, .chips a:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--bg); }
.pf { padding-top: 40px; padding-bottom: 24px; }
.pf-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 18px; }
.pf-head h2 { font-size: 28px; }
.pf-head .genre-cap { flex-basis: 100%; }
.sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 30px 0 14px; scroll-margin-top: 130px; }
.pill { padding: 6px 14px; border-radius: 999px; background: var(--ink-2); color: var(--bg); font-size: 10px; letter-spacing: .16em; }
.gallery {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad);
}
.ph { position: relative; display: block; flex: none; scroll-snap-align: start; overflow: hidden; border-radius: 4px; background: var(--line); }
.gallery .ph { height: min(54vh, 400px); }
.gallery .ph img { height: 100%; width: auto; max-width: none; }
/* телефондағы жолақ көрсеткіші */
.gallery-nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.gallery-nav[hidden] { display: none; }
.gn-track { position: relative; flex: 1; height: 1px; background: var(--line); }
.gn-fill { position: absolute; left: 0; top: -0.5px; height: 2px; background: var(--ink-2); transition: width .25s ease; }
.gn-count { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.gn-next { width: 38px; height: 38px; flex: none; border: 1px solid var(--ink-2); border-radius: 50%; display: grid; place-items: center; }
.gn-next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s; }
.gn-next.is-back svg { transform: rotate(180deg); }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(245,242,238,.88); color: var(--ink); font-size: 9px; letter-spacing: .16em;
}
.center-cta { display: flex; justify-content: center; padding: 24px var(--pad) 8px; }
/* портфолио соңындағы шақыру блогы */
.book-cta {
  margin: 56px 14px 24px; padding: 44px 24px 46px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.book-cta-title { font: italic 500 28px/1.2 var(--serif); color: var(--ink); margin: 0 0 10px; }
.book-cta-text { font-size: 13.5px; color: var(--muted); margin: 0 0 26px; }
.btn-lg { min-height: 56px; padding: 0 40px; font-size: 12px; }

/* ───── бағалар ───── */
.card-block {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  margin: 28px 14px; padding: 26px 18px 10px; max-width: var(--maxw);
}
.block-title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 26px; }
.offer { display: grid; gap: 16px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.offer:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.offer-visual { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.offer-visual img { width: 100%; height: 100%; object-fit: cover; }
.offer-title { font-size: 22px; letter-spacing: .1em; }
.offer-title span { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .16em; color: var(--muted); font-weight: 400; }
.price { font-size: 19px; font-weight: 400; margin: 0; letter-spacing: .02em; }
.price-extra { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; }
.usd { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 4px; white-space: nowrap; }
.usd:empty { display: none; }

.more { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 18px; background: var(--bg); }
.more summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 0 18px; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s; }
.more[open] summary svg { transform: rotate(180deg); }
.more ul { margin: 0; padding: 2px 18px 6px 34px; font-size: 13.5px; }
.more li { margin-bottom: 8px; }
.more li::marker { color: var(--muted); }
.offer-actions { display: grid; gap: 10px; padding: 10px 18px 18px; }
.about-text .offer-actions { padding: 10px 0 0; }

.gift-card {
  width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 26px; text-align: center; color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% 0%, #FBF9F6 0%, transparent 60%),
    linear-gradient(160deg, #F1ECE5, #E2D9CE);
  outline: 1px solid rgba(46,38,34,.25); outline-offset: -14px;
}
.gift-top { font: italic 400 30px/1 var(--serif); }
.gift-name { font-size: 22px; font-weight: 300; letter-spacing: .24em; line-height: 1.4; }
.gift-sum { font-size: 14px; letter-spacing: .1em; }
.gift-foot { font-size: 9px; letter-spacing: .3em; color: var(--muted); }

.gift-note {
  max-width: 520px; margin: 0 auto 26px; padding: 26px 0 4px; text-align: center;
  border-top: 1px solid var(--line); scroll-margin-top: 80px;
}
.gift-note .offer-title { font-size: 18px; margin-bottom: 6px; }
.gift-note .price { font-size: 16px; margin-bottom: 12px; }
.gift-note p:not(.price) { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.video-note { display: grid; gap: 12px; justify-items: start; padding: 4px 0 22px; font-size: 13.5px; }
.video-note p { margin: 0; }

.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0; max-width: 760px; }
.steps li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps b { display: block; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 3px 0 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 13.5px; }

.faq { max-width: 820px; }
.qa { margin-top: 10px; }
.qa summary { text-transform: none; letter-spacing: .01em; font-size: 14px; font-weight: 500; padding: 14px 18px; line-height: 1.4; }
.qa p { padding: 0 18px 16px; margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ───── күнтізбе ───── */
.cal-wrap { max-width: 560px; }
.prepay { text-align: center; margin-bottom: 24px; }
.prepay p:first-child { font-size: 15px; margin-bottom: 6px; }
.calendar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; line-height: 1; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-week span { font-size: 9.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; padding: 4px 0 8px; }
.day {
  position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-size: 13.5px; transition: background .2s, color .2s;
}
.day.is-free { border: 1px solid var(--ink-2); }
.day.is-free:hover, .day.is-selected { background: var(--ink-2); color: var(--bg); }
.day.is-partial { border: 1px dashed var(--ink-2); background: linear-gradient(135deg, transparent 50%, rgba(185,169,155,.45) 50%); }
.day.is-partial.is-selected { background: var(--partial); color: var(--ink); }
.day.is-busy { color: var(--line); text-decoration: line-through; cursor: default; }
.day.is-past, .day.is-empty { color: var(--line); cursor: default; }
.day.is-today::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.legend { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.legend em { color: var(--muted); }
.d-free { border: 1px solid var(--ink-2); }
.d-partial { border: 1px dashed var(--ink-2); background: linear-gradient(135deg, transparent 50%, rgba(185,169,155,.6) 50%); }
.d-busy { background: var(--line); }
.cal-panel { min-height: 120px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: grid; gap: 12px; align-content: center; text-align: center; }
.cal-panel .note { margin: 0; }
.cal-panel .cal-date { font-size: 16px; letter-spacing: .06em; }
.cal-demo { text-align: center; margin-top: 16px; }
.cal-error { text-align: center; margin-top: 16px; color: var(--ink-2); }
.cal-error a { text-decoration: underline; text-underline-offset: 3px; }
.day.is-unknown { color: var(--muted); cursor: default; }

/* ───── байланыс, футер ───── */
.contact { padding: 56px var(--pad) 40px; max-width: var(--maxw); margin: 0 auto; }
.contact-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--line); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.contact-actions .save-contact { grid-column: 1 / -1; }
.btn-icon { padding: 0 12px; gap: 8px; }
.btn-icon svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.btn-icon svg .fill { fill: currentColor; stroke: none; }
.save-contact { justify-self: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px; }
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 22px var(--pad) calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
}

/* ───── WhatsApp батырмасы (A — қою сопақ, B — кілегей шеңбер) ───── */
.float-wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25;
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--ink-2); color: var(--bg); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(46,38,34,.18);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s;
}
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.float-wa svg .fill { fill: currentColor; stroke: none; }
body.wa-b .float-wa { width: 52px; height: 52px; padding: 0; justify-content: center; background: var(--paper); color: var(--ink-2); border: 1px solid var(--ink-2); box-shadow: 0 6px 22px rgba(46,38,34,.12); }
body.wa-b .float-wa span { display: none; }
body.wa-b .float-wa svg { width: 22px; height: 22px; }

/* ───── lightbox ───── */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(28,23,20,.96); display: grid; place-items: center; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; }
.lightbox button { position: absolute; color: #F5F2EE; font-size: 34px; width: 52px; height: 52px; display: grid; place-items: center; font-weight: 300; }
.lb-close { top: 10px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); color: #B9AEA6; font-size: 11px; letter-spacing: .2em; }

/* ───── пайда болу анимациясы ───── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ───── СЫНАҚ НҰСҚАСЫ: курсив/жазба шрифтімен тақырыптар (html.script-heads) ───── */
html.script-heads .h-section, html.script-heads .h-page {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500;
  text-transform: lowercase; letter-spacing: 0; line-height: 1.1;
}
html.script-heads .h-section::first-letter, html.script-heads .h-page::first-letter { text-transform: uppercase; }
html.script-heads .h-section.keep-case { text-transform: none; }
html.script-heads .h-page { font-size: clamp(40px, 11vw, 76px); }
html.script-heads .h-section { font-size: clamp(34px, 9.5vw, 56px); }
html.script-heads .home-about .h-section { font-size: 30px; white-space: nowrap; }

/* ═══════════════════ КОМПЬЮТЕР ═══════════════════ */
@media (min-width: 900px) {
  :root { --pad: 48px; }
  body { font-size: 15px; }
  .site-header { height: 72px; display: flex; gap: 14px; }
  .hc { display: contents; }
  .langs { font-size: 10.5px; gap: 10px; }
  .menu-btn, .price-btn { display: none; }
  .brand { font-size: 32px; }
  .nav-desktop { display: flex; gap: 30px; margin-left: auto; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
  .nav-desktop a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
  .nav-desktop a:hover, .nav-desktop a[aria-current] { border-color: var(--ink); }
  .langs { margin-left: 36px; }
  html { scroll-padding-top: 90px; }

  .hero {
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; column-gap: 64px; row-gap: 32px;
    padding-top: 48px; min-height: calc(100vh - 72px); align-items: end;
  }
  .hero-text { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-actions { grid-column: 1; grid-row: 2; grid-template-columns: auto auto; justify-content: start; align-self: start; }
  .hero-slider { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; height: calc(100vh - 120px); max-height: 860px; }

  .gallery-nav { display: none !important; }
  .genre-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; gap: 18px; }

  .home-about { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 0 72px; align-items: start; }
  .home-about .about-photo { grid-row: 1 / span 2; max-height: 680px; }
  .home-about .about-intro { align-self: end; padding-bottom: 18px; font-size: 15px; }
  .home-about .about-rest { grid-column: 2; }
  .home-about .h-section { font-size: 34px; margin-bottom: 22px; }
  .about-page .about-photo { width: 300px; }
  .about-text .offer-actions { grid-template-columns: auto auto; justify-content: center; }
  .strip { gap: 12px; padding-bottom: 24px; }

  .shots { display: block; columns: 3; column-gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .shot { break-inside: avoid; margin-bottom: 16px; padding: 38px 16px 16px; }

  .chips { justify-content: center; top: 72px; }
  .pf-head h2 { font-size: 34px; }
  .pf-head .genre-cap { flex-basis: auto; margin-left: 8px; }
  /* қатар бойынша, ретімен, кесусіз: әр фото өз пропорциясымен, қатар енді толтырады */
  .gallery { display: flex; flex-wrap: wrap; gap: 12px; overflow: visible; margin: 0; padding: 0; }
  .gallery::after { content: ''; flex: 1e4 1 0; }
  .gallery .ph {
    height: auto; aspect-ratio: var(--r); cursor: zoom-in;
    flex: calc(var(--r) * 100) 1 calc(var(--r) * 300px);
  }
  .gallery .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
  .gallery .ph:hover img { transform: scale(1.03); }

  .book-cta { max-width: 760px; margin: 96px auto 40px; padding: 64px 48px; }
  .book-cta-title { font-size: 40px; }
  .card-block { margin: 36px auto; padding: 48px 56px 24px; width: calc(100% - 96px); }
  .block-title { font-size: 26px; margin-bottom: 40px; }
  .offer { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; }
  .offer.is-flip .offer-visual { order: 2; }
  .offer-visual { aspect-ratio: 4 / 5; max-height: 640px; }
  .offer-title { font-size: 28px; }
  .tagline { font-size: 23px; }
  .price { font-size: 22px; }
  .offer-actions { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .video-note { grid-template-columns: 1fr auto; align-items: center; padding: 8px 0 32px; }

  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; max-width: none; }
  .steps li { flex-direction: column; border-bottom: 0; border-top: 1px solid var(--line); padding-top: 22px; }

  .contact { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: center; }
  .contact .h-section { grid-column: 1 / -1; }
  .contact-actions { margin: 0; }

  .float-wa { right: 28px; bottom: 28px; }
  .lightbox img { max-width: 86vw; max-height: 90vh; }
  .lb-prev { left: 24px; } .lb-next { right: 24px; }
}
@media (min-width: 1400px) {
  .gallery .ph { flex-basis: calc(var(--r) * 360px); }
}

/* сынақ нұсқасы: компьютердегі «Мен туралы» тақырыбы */
@media (min-width: 900px) {
  html.script-heads .home-about .h-section { font-size: 48px; }
}
