/* ==========================================================================
   Icon Face — Эстетическая косметология, Казань
   Dark luxury layout, fixed sidebar, full-bleed hero.
   ========================================================================== */

:root {
  /* Palette — warm chocolate + champagne */
  --bg: #15110E;
  --bg-side: #1A1410;
  --bg-soft: #211913;
  --bg-active: #2B2118;
  --bg-elev: #1F1813;
  --paper: #EDDFC8;
  --paper-soft: #BFA98B;
  --paper-mute: #847058;
  --accent: #C9A87A;
  --accent-deep: #A8895E;
  --accent-soft: #DBC09A;
  --line: rgba(237, 223, 200, 0.10);
  --line-strong: rgba(237, 223, 200, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  /* Typography */
  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --fs-hero: clamp(4rem, 11vw, 8.5rem);
  --fs-h1: clamp(2.5rem, 5.5vw, 4.25rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-h3: clamp(1.35rem, 2.4vw, 1.75rem);
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-small: 0.875rem;
  --fs-label: 0.7rem;

  /* Layout */
  --sidebar-w: 320px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--paper);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ----------------------- App layout --------------------------------------- */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* ----------------------- Sidebar ------------------------------------------ */

.sidebar {
  background: var(--bg-side);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 0 1.5rem;
  border-right: 1px solid var(--line);
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-strong); }

/* Sidebar logo */
.side-logo {
  padding: 0 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.side-logo__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.side-logo__mark span:last-child { color: var(--paper); }
.side-logo__city {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 0.25rem;
}

/* Sidebar nav */
.side-nav {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-soft);
  position: relative;
  transition: color .25s ease, background .25s ease;
}
.side-nav a:hover { color: var(--paper); background: var(--bg-elev); }
.side-nav a[aria-current="page"] {
  color: var(--paper);
  background: var(--bg-active);
}
.side-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
}
.side-nav a .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.85;
}

/* Sidebar contacts */
.side-contacts {
  padding: 0 2rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--paper-soft);
}
.side-contacts__item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.side-contacts__item .icon { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; }
.side-contacts__item a:hover { color: var(--paper); }

/* Sidebar socials */
.side-socials {
  padding: 1.5rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.side-socials a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-soft);
}
.side-socials a:hover { color: var(--accent); }
.side-socials .icon { width: 16px; height: 16px; color: var(--accent); }

/* Sidebar copyright */
.side-copyright {
  padding: 1.5rem 2rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
  line-height: 1.55;
}

/* ----------------------- Main area ---------------------------------------- */

.main { background: var(--bg); }

/* ----------------------- Mobile header (visible <1000) -------------------- */

.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 17, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter);
  align-items: center;
  justify-content: space-between;
}
.mobile-header .brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
}
.mobile-header .brand em { font-style: normal; color: var(--accent); }
.burger {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
}
.burger span { width: 18px; height: 1px; background: var(--paper); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--paper); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

@media (max-width: 1000px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-header { display: flex; }
}

/* ----------------------- Mobile drawer ------------------------------------ */

.drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-side);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.7,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 1rem var(--gutter) 2rem;
  overflow-y: auto;
}
.drawer[aria-hidden="false"] { transform: translateY(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; }
.drawer__close {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  position: relative;
}
.drawer__close::before, .drawer__close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1px; background: var(--paper);
  transform-origin: center;
}
.drawer__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer .side-logo,
.drawer .side-nav,
.drawer .side-contacts,
.drawer .side-socials,
.drawer .side-copyright { padding-left: 0; padding-right: 0; }
.drawer .side-nav a { padding-left: 0; padding-right: 0; font-size: 1rem; }

/* ----------------------- Hero (homepage) ---------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero__photo::after {
  /* Cinematic gradient overlay: dark on left, transparent on right */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 17, 14, 0.92) 0%, rgba(21, 17, 14, 0.65) 35%, rgba(21, 17, 14, 0.20) 65%, rgba(21, 17, 14, 0) 100%),
    linear-gradient(180deg, rgba(21, 17, 14, 0.20) 0%, rgba(21, 17, 14, 0) 30%, rgba(21, 17, 14, 0.20) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  max-width: 720px;
  width: 100%;
}
.hero__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.hero__city {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 0.4em;
}
.hero__divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 1.75rem 0 1.5rem;
}
.hero__tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-soft);
  max-width: 26ch;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--accent);
  transition: gap .3s ease, color .3s ease;
}
.hero__cta:hover { gap: 1.5rem; color: var(--accent); }
.hero__cta .arrow { font-family: var(--font-display); font-size: 1.25rem; }

/* ----------------------- Generic page intro ------------------------------ */

.page-intro {
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  max-width: var(--container);
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.page-intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--paper);
  max-width: 22ch;
  margin: 1.5rem 0 1.5rem;
}
.page-intro h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-intro p {
  color: var(--paper-soft);
  max-width: 60ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
}

/* ----------------------- Sections ----------------------------------------- */

section { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.wrap { max-width: var(--container); margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
@media (min-width: 820px) {
  .section-head { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head__intro p { color: var(--paper-soft); font-size: 1.0625rem; }

/* ----------------------- Directions list ---------------------------------- */

.directions { display: grid; grid-template-columns: 1fr; }
.direction {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding .3s ease, background .3s ease;
}
a.direction:hover { padding-left: 1rem; background: var(--bg-elev); }
.direction__num {
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 0.32em;
  min-width: 2.5rem;
  font-weight: 400;
}
.direction__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.direction__desc {
  color: var(--paper-soft);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
  max-width: 56ch;
}
.direction__arrow {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  transition: transform .25s ease;
}
a.direction:hover .direction__arrow { transform: translateX(8px); }

/* ----------------------- Photo placeholders ------------------------------- */

.photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(201, 168, 122, 0.18), transparent 50%),
    radial-gradient(80% 60% at 80% 90%, rgba(0, 0, 0, 0.35), transparent 60%),
    linear-gradient(160deg, var(--bg-soft), var(--bg-elev));
  overflow: hidden;
  border: 1px solid var(--line);
}
.photo__label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 16 / 9; }

/* ----------------------- Specialist --------------------------------------- */

.specialist {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 820px) { .specialist { grid-template-columns: 1fr 1.3fr; } }
.specialist__photo { position: relative; }
.specialist h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.specialist .role { color: var(--paper-soft); font-size: 1rem; margin-bottom: 2rem; }
.specialist__list { display: flex; flex-direction: column; margin: 2.5rem 0; }
.specialist__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--paper-soft);
}
.specialist__list strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  min-width: 5rem;
  font-size: 1.35rem;
}

/* ----------------------- Steps -------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .steps .step:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .step { border-right: 1px solid var(--line) !important; }
  .steps .step:last-child { border-right: none !important; }
}
.step {
  padding: 2.5rem 2rem;
  counter-increment: step;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  margin-bottom: 0.75rem;
  color: var(--paper);
}
.step p { color: var(--paper-soft); font-size: 0.9375rem; line-height: 1.55; }

/* ----------------------- Reviews ------------------------------------------ */

.reviews {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .reviews .review:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (min-width: 1080px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .reviews .review { border-right: 1px solid var(--line) !important; }
  .reviews .review:last-child { border-right: none !important; }
}
.review {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.review__mark {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 3.5rem;
  line-height: 0.4;
  height: 1rem;
}
.review p { color: var(--paper-soft); font-size: 1rem; line-height: 1.55; flex: 1; }
.review__author {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--paper);
}
.review__author span:last-child { color: var(--paper-mute); }

/* ----------------------- FAQ ---------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--paper);
  line-height: 1.25;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  transition: transform .3s ease;
}
.faq details[open] summary::after { content: "—"; }
.faq details p { margin-top: 1.25rem; color: var(--paper-soft); max-width: 70ch; line-height: 1.6; }

/* ----------------------- CTA block ---------------------------------------- */

.cta {
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(201, 168, 122, 0.10), transparent 70%),
    var(--bg-soft);
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.0;
  margin: 1.5rem 0 1.5rem;
  max-width: 22ch;
  color: var(--paper);
  letter-spacing: -0.015em;
}
.cta h2 em { font-style: italic; color: var(--accent); }
.cta p { color: var(--paper-soft); font-size: 1.125rem; max-width: 50ch; margin-bottom: 2.5rem; }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ----------------------- Buttons ------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn .arrow { font-family: var(--font-display); font-size: 1.25rem; }

/* ----------------------- Prices ------------------------------------------- */

.prices-group { margin-bottom: 4rem; }
.prices-group h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  color: var(--paper);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.prices-group h3 .count {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}
.prices-group .lead { color: var(--paper-soft); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 60ch; }
.price-table { width: 100%; border-top: 1px solid var(--accent); }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.price-row__name { font-size: 1.0625rem; color: var(--paper); }
.price-row__name small {
  display: block;
  color: var(--paper-mute);
  font-size: 0.875rem;
  margin-top: 0.35rem;
}
.price-row__value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.625rem;
  color: var(--accent);
  white-space: nowrap;
}
.price-row__value small { font-family: var(--font-sans); font-size: 0.875rem; color: var(--paper-mute); margin-left: 0.5rem; font-style: normal; }

/* ----------------------- Forms -------------------------------------------- */

.form { display: grid; gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.85rem 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--paper);
  font-weight: 300;
  transition: border-color .25s ease;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--paper-mute); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.field--row { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field--row { grid-template-columns: 1fr 1fr; } }

.consent { display: flex; align-items: flex-start; gap: 0.85rem; font-size: 0.875rem; color: var(--paper-soft); line-height: 1.55; }
.consent input { margin-top: 0.4rem; accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 18px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.channel-radio { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; padding-top: 0.5rem; }
.channel-radio label { display: inline-flex; gap: 0.55rem; align-items: center; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--paper); cursor: pointer; white-space: nowrap; }
.channel-radio input { accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }

/* ----------------------- Contacts ----------------------------------------- */

.contacts-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contacts-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-list { display: grid; gap: 2.5rem; }
.contact-list__item { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.contact-list__item .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.contact-list__item a, .contact-list__item p {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--paper);
  line-height: 1.25;
}
.contact-list__item a:hover { color: var(--accent); }
.messengers { display: flex; gap: 0.65rem; margin-top: 0.85rem; flex-wrap: wrap; }
.messengers a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1rem;
  color: var(--paper);
  transition: all .25s ease;
}
.messengers a:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.map-frame {
  width: 100%;
  height: 540px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.5);
}

/* ----------------------- Journal ------------------------------------------ */

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
@media (min-width: 720px) { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.entry {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.entry .photo { aspect-ratio: 4 / 3; }
.entry .meta {
  display: flex; gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.entry h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
  color: var(--paper);
}
.entry p { color: var(--paper-soft); font-size: 0.9375rem; }
.entry a.more {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ----------------------- Long-form prose ---------------------------------- */

.prose { max-width: 64ch; margin: 0 auto; }
.prose p { margin-bottom: 1.25rem; color: var(--paper-soft); font-size: 1.0625rem; line-height: 1.7; }
.prose p.lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--paper);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  margin: 2.5rem 0 1.25rem;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-h3);
  margin: 2rem 0 0.85rem;
  color: var(--paper);
}
.prose ul { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.prose ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--paper-soft);
  font-size: 1.0625rem;
}
.prose ul li::before {
  content: "·";
  position: absolute;
  left: 0.5rem;
  top: -0.15em;
  color: var(--accent);
  font-size: 1.75rem;
  line-height: 1;
}
.prose strong { color: var(--paper); font-weight: 500; }
.prose blockquote {
  border-left: 1px solid var(--accent);
  padding-left: 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paper);
  line-height: 1.4;
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------- Disclaimer & cookies ----------------------------- */

.disclaimer {
  background: var(--bg-side);
  border-top: 1px solid var(--line);
  padding: 1rem var(--gutter);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--paper-soft);
  letter-spacing: 0.05em;
}
.disclaimer strong { color: var(--accent); font-weight: 500; }

.cookies {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 460px;
  background: var(--accent);
  color: var(--bg);
  padding: 1.5rem;
  font-size: 0.875rem;
  z-index: 60;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: none;
}
.cookies.is-visible { display: block; animation: cookieIn .4s ease both; }
@keyframes cookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookies p { margin-bottom: 1rem; line-height: 1.5; }
.cookies a { text-decoration: underline; text-underline-offset: 3px; color: var(--bg); font-weight: 500; }
.cookies__actions { display: flex; gap: 0.5rem; }
.cookies button {
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.cookies button.primary { background: var(--bg); color: var(--accent); }

/* ----------------------- Floating buttons --------------------------------- */

.float-actions {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.75rem;
  z-index: 40;
}
/* Главная круглая кнопка-триггер */
.float-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  transition: transform .25s ease, background .25s ease;
  border: none;
  cursor: pointer;
  padding: 0;
}
.float-toggle:hover { background: var(--accent-soft); }
.float-toggle svg { width: 24px; height: 24px; transition: transform .3s ease; }
.float-actions.is-open .float-toggle svg { transform: rotate(90deg); }

/* Выезжающие кнопки мессенджеров */
.float-menu {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .3s ease, opacity .25s ease;
}
.float-actions.is-open .float-menu {
  max-height: 220px;
  opacity: 1;
  pointer-events: auto;
}
.float-menu a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elev, #2a211b);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background .2s ease, color .2s ease;
  position: relative;
}
.float-menu a:hover { background: var(--accent); color: var(--bg); transform: scale(1.08); }
.float-menu a svg { width: 22px; height: 22px; }
.float-menu a .float-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elev, #2a211b);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
  text-align: left;
}
.float-menu a .float-label .fl-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--paper);
  white-space: nowrap;
}
.float-menu a .float-label .fl-sub {
  font-size: 0.75rem;
  color: var(--paper-mute);
  white-space: nowrap;
}

/* ----------------------- Reveal ------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
}

/* ----------------------- Mobile sidebar adjustments ----------------------- */

@media (max-width: 1000px) {
  .hero { min-height: calc(100vh - 76px); }
  .page-intro, section { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ----------------------- Print -------------------------------------------- */

@media print {
  .sidebar, .mobile-header, .float-actions, .cookies, .cta { display: none !important; }
  body { background: white; color: black; }
}

/* ====== КАСТОМНЫЙ ВЫПАДАЮЩИЙ СПИСОК (под цвет сайта) ====== */
.custom-select { position: relative; width: 100%; }
.custom-select__btn {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 0.85rem 2rem 0.85rem 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color .25s ease;
}
.custom-select__btn:focus { outline: none; border-bottom-color: var(--accent); }
.custom-select.is-open .custom-select__btn { border-bottom-color: var(--accent); }
.custom-select__value { color: var(--paper); }
.custom-select__value.is-placeholder { color: var(--paper-mute); }
.custom-select__arrow {
  width: 12px; height: 8px;
  color: var(--accent);
  flex: 0 0 12px;
  transition: transform .25s ease;
}
.custom-select.is-open .custom-select__arrow { transform: rotate(180deg); }

.custom-select__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: #1A1411;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.custom-select.is-open .custom-select__list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.custom-select__list li {
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--paper-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.custom-select__list li:hover,
.custom-select__list li.is-active {
  background: rgba(201,168,122,0.12);
  color: var(--accent);
}
.custom-select__list li[data-value=""] { color: var(--paper-mute); }
