/* Логопед — страница основного сайта ЛТ */
:root {
  --ink: #0e1621;
  --ink-2: #243041;
  --mute: #6b7789;
  --chalk: #f3efe7;
  --chalk-2: #e8e2d6;
  --white: #faf8f4;
  --blue: #4f8fb5;
  --blue-deep: #2f6486;
  --warm: #e8915a;
  --warm-soft: #f0b48a;
  --line: rgba(14, 22, 33, 0.1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --shell: min(1100px, calc(100% - clamp(1.25rem, 5vw, 2.4rem) * 2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box }
html { overflow-x: clip }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .75rem 1rem; background: var(--ink); color: #fff;
}
.skip:focus { left: 0 }
.shell { width: var(--shell); margin-inline: auto }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.2rem; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700; font-size: .98rem;
  cursor: pointer; font-family: var(--body);
  transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px) }
.btn--sm { min-height: 2.55rem; padding: 0 1.1rem; font-size: .9rem; flex: none }
.btn--ghost {
  background: transparent; border-color: rgba(14, 22, 33, .22); color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: transparent }
.btn--warm { background: var(--warm); color: var(--ink) }
.btn--warm:hover { background: var(--warm-soft); color: var(--ink) }
.btn--light {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff;
}
.btn--light:hover { background: rgba(255, 255, 255, .22); border-color: #fff; color: #fff }
.btn--light-solid {
  background: #f6f3ee; color: var(--ink); border-color: transparent;
}
.btn--light-solid:hover { background: var(--warm); color: var(--ink) }

.kicker {
  margin: 0 0 .65rem;
  font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-deep);
}
.kicker--on-dark { color: var(--warm-soft) }

.sec-head { margin-bottom: clamp(1.6rem, 4vw, 2.4rem); max-width: 38rem }
.sec-head--left { margin-bottom: 1.15rem }
.sec-head h2 {
  margin: 0 0 .7rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.08; letter-spacing: -.03em;
}
.sec-head__lead {
  margin: 0; color: var(--ink-2); max-width: 42ch;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.block { padding: clamp(3rem, 7.5vw, 5.25rem) 0 }
.page-logoped .block { scroll-margin-top: 5.5rem }
.block--soft {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(79, 143, 181, .1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .28));
}
.block--about {
  padding: clamp(3.2rem, 8vw, 5.75rem) 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 40%, rgba(232, 145, 90, .12), transparent 55%),
    var(--chalk);
}

/* ── Hero ── */
.lp-hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: clamp(5.8rem, 12vw, 7.5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  overflow: clip;
  color: #f6f3ee;
  background: var(--ink);
}
.lp-hero__art {
  position: absolute; inset: 0;
}
.lp-hero__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 28%;
}
.lp-hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 22, 33, .94) 0%, rgba(14, 22, 33, .72) 42%, rgba(14, 22, 33, .28) 72%, rgba(14, 22, 33, .4) 100%),
    linear-gradient(0deg, rgba(14, 22, 33, .9) 0%, transparent 48%);
}
.lp-hero__glow {
  position: absolute;
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  right: -6%;
  bottom: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 90, .28), transparent 70%);
  pointer-events: none;
  contain: layout paint;
}
.lp-hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  height: 56px;
  color: rgba(243, 239, 231, .4);
  pointer-events: none;
}
.lp-hero__wave svg { width: 100%; height: 100%; display: block }
.lp-hero__wave-path {
  stroke-dasharray: 10 12;
  animation: lpWave 7s linear infinite;
}
.lp-hero__wave-path--2 {
  animation-duration: 11s;
  animation-direction: reverse;
}
@keyframes lpWave {
  to { stroke-dashoffset: -140 }
}

.lp-hero__stage {
  position: relative;
  z-index: 3;
  width: var(--shell);
  max-width: none;
  margin-inline: auto;
  align-self: center;
}
.lp-hero__content {
  max-width: 40rem;
  margin-inline: 0;
  text-align: left;
}
.lp-hero h1 {
  margin: 0 0 .95rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.15rem, 5.8vw, 3.55rem);
  line-height: 1.05; letter-spacing: -.035em; color: #fff;
}
.lp-hero__line {
  display: block;
}
.lp-hero__line--accent {
  position: relative;
  display: inline-block;
  color: var(--warm-soft);
}
.lp-hero__squiggle {
  position: absolute;
  left: 0; right: 0; bottom: -.05em;
  width: 100%; height: .28em;
  overflow: visible;
  color: var(--warm);
}
.lp-hero__squiggle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.js .lp-hero__line {
  opacity: 0;
  transform: translateY(1.15rem);
  animation: lpRise .85s var(--ease) forwards;
}
html.js .lp-hero__line:nth-child(1) { animation-delay: .12s }
html.js .lp-hero__line:nth-child(2) { animation-delay: .24s }
html.js .lp-hero__line:nth-child(3) { animation-delay: .36s }
html.js .lp-hero__squiggle path {
  animation: lpDraw 1s var(--ease) .55s forwards;
}
@keyframes lpRise {
  to { opacity: 1; transform: none }
}
@keyframes lpDraw {
  to { stroke-dashoffset: 0 }
}

html.js .lp-hero__rise {
  opacity: 0;
  transform: translateY(1rem);
  animation: lpRise .8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
html.js .lp-hero__chip {
  opacity: 0;
  transform: translateY(.7rem) scale(.96);
  animation: lpChip .7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lpChip {
  to { opacity: 1; transform: none }
}

.lp-hero__lead {
  margin: 0 0 1.4rem;
  max-width: 36ch;
  color: rgba(246, 243, 238, .88);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
}
.lp-hero__actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-bottom: 1.15rem;
  justify-content: flex-start;
}
.lp-hero__chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .45rem;
  justify-content: flex-start;
}
.lp-hero__chips li,
.lp-hero__chip {
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .8rem; font-weight: 700;
  color: rgba(246, 243, 238, .82);
}

@media (min-width: 960px) {
  .lp-hero {
    justify-content: center;
    min-height: min(88vh, 760px);
    padding-block: clamp(6rem, 10vw, 8rem);
  }
  .lp-hero__art img { object-position: 78% 28% }
  .lp-hero__shade {
    background:
      linear-gradient(100deg, rgba(14, 22, 33, .96) 0%, rgba(14, 22, 33, .84) 40%, rgba(14, 22, 33, .28) 70%, rgba(14, 22, 33, .35) 100%),
      linear-gradient(0deg, rgba(14, 22, 33, .55) 0%, transparent 40%);
  }
  .lp-hero__content { max-width: 34rem }
  .lp-hero__wave { height: 64px }
}

@media (max-width: 760px) {
  .lp-hero {
    min-height: 100svh;
    min-height: 100dvh;
    justify-content: flex-end;
    padding: 5.4rem 0 1.25rem;
  }
  .lp-hero__art img { object-position: 48% 8% }
  .lp-hero__shade {
    background:
      linear-gradient(180deg,
        rgba(14, 22, 33, .28) 0%,
        rgba(14, 22, 33, .18) 22%,
        rgba(14, 22, 33, .5) 48%,
        rgba(14, 22, 33, .94) 70%,
        rgba(14, 22, 33, .99) 100%);
  }
  .lp-hero__glow { display: none }
  .lp-hero__wave {
    position: relative;
    z-index: 3;
    height: 36px;
    margin-top: .45rem;
    color: rgba(243, 239, 231, .35);
  }
  .lp-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    text-shadow: 0 2px 22px rgba(14, 22, 33, .5);
  }
  .lp-hero__lead {
    max-width: none;
    font-size: 1.02rem;
    color: rgba(246, 243, 238, .92);
  }
  .lp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-hero__actions .btn { width: 100% }
  .lp-hero__stage {
    width: var(--shell);
    margin-inline: auto;
    padding-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__art img,
  html.js .lp-hero__art img,
  .lp-hero__glow,
  .lp-hero__wave-path,
  html.js .lp-hero__line,
  html.js .lp-hero__rise,
  html.js .lp-hero__chip,
  html.js .lp-hero__squiggle path {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ── Pain ── */
.pain-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 860px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.pain {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.45rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(14, 22, 33, .1);
  box-shadow: 0 22px 48px -32px rgba(14, 22, 33, .42);
  transition: transform .35s var(--ease), box-shadow .35s;
}
@media (hover: hover) {
  .pain:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px -30px rgba(14, 22, 33, .5);
  }
}
.pain__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--chalk-2);
}
.pain__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pain__n {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  min-width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  padding: 0 .45rem;
  border-radius: .7rem;
  background: var(--ink);
  color: var(--warm-soft);
  font-family: var(--display);
  font-weight: 800;
  font-size: .92rem;
  box-shadow: 0 10px 24px -12px rgba(14, 22, 33, .55);
}
.pain__body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.2rem 1.2rem 1.35rem;
  flex: 1;
}
.pain h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pain p {
  margin: 0;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.55;
}

.how-as-cards {
  list-style: none;
  margin: 0;
  padding: 0;
}
.how-as-cards .pain__media {
  aspect-ratio: 1;
}
@media (min-width: 860px) {
  .how-as-cards .pain__media {
    aspect-ratio: 5 / 4;
  }
}

/* ── Topics ── */
.topics {
  display: grid;
  gap: .9rem;
}
@media (min-width: 700px) {
  .topics { grid-template-columns: repeat(2, 1fr); gap: 1rem }
}
@media (min-width: 1040px) {
  .topics { grid-template-columns: repeat(3, 1fr); gap: 1.1rem }
}
.topic {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  padding: 1.2rem 1.2rem;
  border-radius: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(14, 22, 33, .1);
  box-shadow: 0 14px 36px -28px rgba(14, 22, 33, .35);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
@media (hover: hover) {
  .topic:hover {
    border-color: rgba(232, 145, 90, .4);
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -28px rgba(14, 22, 33, .45);
  }
}
.topic img {
  flex: none;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1rem;
  object-fit: cover;
}
.topic h3 {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.topic p {
  margin: 0;
  color: var(--ink-2);
  font-size: .94rem;
  line-height: 1.5;
}
.ladder-link {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink-2);
}
.ladder-link a {
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--warm);
}
.ladder-link a:hover { color: var(--ink) }

/* ── About ── */
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .about {
    grid-template-columns: minmax(260px, .85fr) 1.15fr;
    gap: clamp(2.2rem, 5vw, 3.75rem);
  }
}
.about__visual {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  padding-bottom: 3rem;
}
.about__photo {
  margin: 0;
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  background: var(--chalk-2);
  aspect-ratio: 2 / 3;
  box-shadow: 0 32px 64px -36px rgba(14, 22, 33, .55);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.2s var(--ease);
}
.about__visual:hover .about__photo img { transform: scale(1.04) }

/* Logoped about art is landscape; default 2:3 center-crop cuts the face. */
.page-logoped .about__photo {
  aspect-ratio: 4 / 5;
}
.page-logoped .about__photo img {
  object-position: 72% 40%;
}
.about__seals {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(.15rem, 1vw, .4rem);
  width: max-content;
  max-width: calc(100% + 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.about__seal {
  --seal-ink: #9a4a28;
  --seal-ring: rgba(154, 74, 40, .55);
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(6.8rem, 16.5vw, 8.1rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  color: var(--seal-ink);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55), transparent 42%),
    radial-gradient(circle at 70% 78%, rgba(154, 74, 40, .08), transparent 48%),
    linear-gradient(155deg, rgba(255, 249, 241, .94), rgba(247, 236, 222, .9));
  border: 1.5px solid var(--seal-ring);
  box-shadow:
    0 0 0 3px rgba(255, 248, 240, .78),
    0 0 0 5px rgba(154, 74, 40, .28),
    0 16px 30px -16px rgba(14, 22, 33, .55);
  transform: rotate(var(--seal-tilt, -6deg)) translateY(var(--seal-lift, 0));
  transition: transform .45s var(--ease);
}
.about__seal::before {
  content: "";
  position: absolute;
  inset: .3rem;
  border-radius: 50%;
  border: 1.5px dashed rgba(154, 74, 40, .38);
  pointer-events: none;
}
.about__seal--1 { --seal-tilt: -8deg; --seal-lift: .3rem }
.about__seal--2 { --seal-tilt: 3deg; --seal-lift: -.12rem }
.about__seal--3 { --seal-tilt: -4deg; --seal-lift: .35rem }
.about__visual:hover .about__seal--1 { transform: rotate(-6deg) translateY(.05rem) }
.about__visual:hover .about__seal--2 { transform: rotate(1deg) translateY(-.35rem) }
.about__visual:hover .about__seal--3 { transform: rotate(-2deg) translateY(.15rem) }
.about__seal-face {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: .1rem;
  place-items: center;
  width: 68%;
  max-height: 68%;
  overflow: hidden;
  padding: 0;
  text-align: center;
}
.about__seal strong,
.about__seal span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: manual;
  -webkit-hyphens: manual;
  text-wrap: balance;
  max-width: 100%;
}
.about__seal strong {
  -webkit-line-clamp: 3;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(.58rem, 1.3vw, .68rem);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.about__seal span {
  -webkit-line-clamp: 3;
  font-size: clamp(.48rem, 1.05vw, .56rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: rgba(154, 74, 40, .82);
}
@media (max-width: 720px) {
  .about__visual {
    padding-bottom: 2.3rem;
    max-width: min(340px, 100%);
  }
  .about__seals {
    gap: .12rem;
    width: 100%;
    max-width: 100%;
    padding: 0 .1rem;
  }
  .about__seal {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 6.3rem;
    --seal-tilt: -3deg;
    --seal-lift: .15rem;
  }
  .about__seal--1 { --seal-tilt: -4deg; --seal-lift: .2rem }
  .about__seal--2 { --seal-tilt: 2deg; --seal-lift: 0 }
  .about__seal--3 { --seal-tilt: -2deg; --seal-lift: .22rem }
  .about__visual:hover .about__seal--1,
  .about__visual:hover .about__seal--2,
  .about__visual:hover .about__seal--3 {
    transform: rotate(var(--seal-tilt)) translateY(var(--seal-lift));
  }
  .about__seal::before { inset: .22rem }
  .about__seal-face {
    width: 64%;
    max-height: 64%;
    gap: .05rem;
  }
  .about__seal strong {
    font-size: .55rem;
    -webkit-line-clamp: 2;
    line-height: 1.05;
  }
  .about__seal span {
    font-size: .48rem;
    -webkit-line-clamp: 3;
    line-height: 1.1;
  }
}
@media (max-width: 380px) {
  .about__seal strong { font-size: .42rem }
  .about__seal span { font-size: .36rem }
}
.about__copy h2 {
  margin: 0 0 .85rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.about__panels {
  display: grid;
  gap: .85rem;
  margin: 0 0 1.35rem;
}
.about__quote {
  margin: 0;
  padding: 1.05rem 1.2rem 1.15rem;
  border-radius: 1.2rem;
  border-left: 4px solid var(--warm);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58));
  color: var(--ink-2);
  font-size: clamp(1.05rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  max-width: min(40ch, 100%);
  box-shadow: 0 14px 28px -26px rgba(14, 22, 33, .4);
}
.about__quote--left {
  justify-self: start;
  margin-right: auto;
}
.about__quote--right {
  justify-self: end;
  margin-left: auto;
  border-left: 0;
  border-right: 4px solid var(--warm);
}
.about__quote--text {
  display: grid;
  gap: .75rem;
}
.about__quote--text > p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.65;
}
.about__quote--text > p.about__lead {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em;
}
.about__paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.about__paths li {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.about__path-who {
  font-family: var(--display);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: -.02em;
  color: var(--warm);
  line-height: 1.1;
}
.about__path-text {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 500;
}
.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .2rem;
}

/* ── Results (uses .pain cards) ── */
@media (max-width: 760px) {
  #rezultat .pain {
    display: grid;
    grid-template-columns: minmax(6.8rem, 38%) 1fr;
    align-items: stretch;
  }
  #rezultat .pain__media {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }
  #rezultat .pain__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #rezultat .pain__media {
    position: relative;
  }
  #rezultat .pain__n {
    left: .55rem;
    bottom: .55rem;
    min-width: 2rem;
    height: 2rem;
    font-size: .8rem;
  }
  #rezultat .pain__body {
    justify-content: center;
    padding: 1rem 1rem 1.05rem .95rem;
    gap: .35rem;
  }
  #rezultat .pain h3 {
    font-size: 1.08rem;
  }
  #rezultat .pain p {
    font-size: .92rem;
    line-height: 1.45;
  }
}

/* ── FAQ + book ── */
.faq-book {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .faq-book {
    grid-template-columns: 1.15fr .85fr;
    gap: 2.5rem;
    align-items: start;
  }
  .book-panel {
    position: sticky;
    top: 5.5rem;
  }
}
.faq-list { display: grid; gap: .7rem }
.faq-item {
  border-radius: 1.15rem;
  background: var(--white);
  border: 1px solid rgba(14, 22, 33, .1);
  overflow: clip;
  box-shadow: 0 12px 32px -26px rgba(14, 22, 33, .35);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  font-weight: 700;
  font-size: 1.02rem;
  font-family: var(--display);
  letter-spacing: -.015em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-weight: 800;
  color: var(--warm);
  font-size: 1.25rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−" }
.faq-item[open] {
  border-color: rgba(232, 145, 90, .35);
}
.faq-item__body {
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.55;
}

.book-panel {
  padding: clamp(1.7rem, 4vw, 2.35rem);
  border-radius: 1.7rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 145, 90, .34), transparent 50%),
    linear-gradient(145deg, #1a2a3a, var(--ink));
  color: #f6f3ee;
  box-shadow: 0 40px 80px -40px rgba(14, 22, 33, .7);
}
.book-panel h2 {
  margin: 0 0 .7rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.book-panel > p {
  margin: 0 0 1.2rem;
  color: rgba(246, 243, 238, .75);
  max-width: 30ch;
}
.book-panel__phone {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  letter-spacing: -.03em;
  text-decoration: none;
  line-height: 1.1;
}
.book-panel__phone:hover { color: var(--warm-soft) }
.book-panel .btn { margin-bottom: 1.1rem }
.book-panel__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  margin-bottom: 1rem;
}
.book-panel__extra {
  font-weight: 700;
  font-size: .92rem;
  color: rgba(246, 243, 238, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 145, 90, .5);
}
.book-panel__extra:hover { color: #fff }
.book-panel__hint {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(246, 243, 238, .55);
}

.foot {
  padding: 1.6rem 0 calc(6.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .foot { padding-bottom: 2.2rem } }
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .7rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--mute);
}
.foot p { margin: 0 }
.foot a { text-decoration: none; border-bottom: 1px solid transparent }
.foot a:hover { color: var(--ink); border-bottom-color: var(--warm) }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: .65rem;
  justify-content: center;
  padding: .75rem clamp(1.1rem, 4vw, 1.5rem) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(243, 239, 231, .97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.dock.is-on { transform: none }
.dock .btn { flex: 1; max-width: 240px; min-height: 2.9rem }
@media (min-width: 760px) { .dock { display: none } }

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-in,
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none }
  .lp-hero__art { transform: none !important }
  .pain:hover,
  .topic:hover { transform: none }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1100px, calc(100% - 1.35rem * 2));
  }
  .block {
    padding: clamp(2.6rem, 8vw, 3.4rem) 0;
  }
  .sec-head h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.15rem);
  }
  .pain__media {
    aspect-ratio: 5 / 3;
  }
  .pain__body {
    padding: 1.1rem 1.1rem 1.25rem;
  }
  .topic {
    padding: 1.1rem;
  }
  .about__visual {
    max-width: 320px;
    padding-bottom: 2rem;
  }
  .about__photo {
    aspect-ratio: 2 / 3;
    max-width: none;
  }
  .page-logoped .about__photo {
    aspect-ratio: 4 / 5;
  }
  .page-logoped .about__photo img {
    object-position: 70% 36%;
  }
  .about__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about__actions .btn { width: 100% }
  .faq-item summary {
    font-size: .98rem;
    padding: 1rem 1.05rem;
  }
  .book-panel {
    border-radius: 1.45rem;
  }
}
