/* 20 October: editorial opening, a shared service entry and a horizontal care story.
   homepage.css supplies shared dialogs, the manual review strip and the approved footer. */
.homepage {
  --page: #fff;
  --ink: #273329;
  --ink-soft: #4e574f;
  --muted: #687068;
  --line: #dfe4dc;
  --cream: #fff;
  --wine: #283b2d;
  --terracotta: #ae4535;
  --terracotta-hover: #903626;
  --peach: #f2f4ee;
  background: #fff;
}
.homepage .page-shell {max-width:1320px; padding-inline:48px}
.homepage .site-header {padding:24px 0;gap:24px}
.homepage .site-nav {gap:25px;font-size:14px}
.homepage .brand {width:174px}
.homepage .button {min-height:48px;border-radius:10px;padding:12px 22px;font-size:15px;font-weight:550;gap:15px}
.homepage .button-primary {background:var(--terracotta);color:#fff}
.homepage .button-primary:hover {background:var(--terracotta-hover)}
.homepage .button-outline,.homepage .button-secondary {background:#fff;border:1px solid #aeb8ac;color:var(--ink)}
.homepage .button-outline:hover,.homepage .button-secondary:hover {background:#f0f3ec;border-color:#74846f}
.homepage .button-compact {min-height:43px;padding:9px 17px;font-size:14px}
.homepage .site-nav>.cabinet-link.button {border-color:#adb8aa;padding-inline:17px;border-radius:10px} /* форма как в кабинете, 21.10 */
.homepage .section-space,.homepage :is(.parents-reviews,.knowledge-section,.parents-tools,.faq-section,.channels-section).section-space {margin-top:64px}
.homepage h2,.homepage :is(.parents-reviews,.knowledge-section,.parents-tools,.faq-section,.channels-section) h2 {font-size:31px;font-weight:600;line-height:1.2;letter-spacing:-.04em}
.homepage .section-heading-row {gap:25px;margin-bottom:24px}
.homepage .section-lead {font-size:16px;color:var(--ink-soft);margin-top:11px}
/* The heading and introduction share the photo's outer alignment. */
.welcome {display:grid;grid-template-columns:1fr;padding-top:24px}
.welcome-copy {grid-row:1;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:end;gap:64px;text-align:left;max-width:none;margin:0 0 31px}
.welcome-copy h1 {font-size:52px;line-height:1.07;letter-spacing:-.055em;font-weight:600}
.welcome-copy>p {font-size:18px;line-height:1.6;color:var(--ink-soft);margin:0;max-width:400px;justify-self:end}
.welcome-scene {grid-row:2;overflow:hidden;height:304px;border-radius:24px;background:#f3f5f1}
.welcome-scene img {width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.service-entries {grid-row:3;z-index:1;position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;width:calc(100% - 100px);margin:-51px auto 0;border:1px solid #e0e4da;border-radius:21px;overflow:hidden;background:#fff;box-shadow:0 12px 30px #2b402111}
.service-entry {min-width:0;padding:20px 24px;display:grid;grid-template-columns:1fr;grid-template-rows:1fr auto auto;align-items:start;gap:14px}
.service-entry--chat {background:#f8e174}
.service-entry--appointment {background:#fff}
.homepage .service-entry h2 {font-size:24px;line-height:1.15;letter-spacing:-.035em}
.service-entry--appointment h2 {margin-top:0}
.service-entry p {margin-top:8px;font-size:15px;line-height:1.45;color:#526043;max-width:none}
.service-entry>.entry-cta {display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;width:100%;min-height:52px;border-width:1px;border-style:solid;padding:12px 18px;gap:14px;border-radius:13px;font-size:16px;text-align:left;white-space:nowrap;justify-self:stretch}
.service-entry>.button-primary.entry-cta {border-color:transparent}
.service-entry>.entry-cta>.icon {width:20px;height:20px;justify-self:end}
/* Short, familiar messenger scenes; the real actions remain in the buttons below. */
.service-preview {height:156px;width:100%;min-width:0;overflow:hidden;border-radius:13px;border:1px solid #2833291f;box-shadow:0 3px 9px #2733290a;user-select:none}
.messenger-preview {display:flex;flex-direction:column;background:#edf1e5}
.messenger-top {display:flex;align-items:center;gap:8px;padding:5px 10px;background:#fff;flex:0 0 38px}
.messenger-top>.icon {width:19px;height:19px;stroke-width:1.8;color:#64715e;flex-shrink:0}
.messenger-avatar {display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#dce7d0;color:#536843;font-size:11px;font-weight:600;flex-shrink:0}
.messenger-contact {display:grid;gap:2px;line-height:1.2}
.messenger-contact strong {font-size:12px;letter-spacing:-.02em;font-weight:600}
.messenger-contact>span {display:none}
.messenger-top>.messenger-more {margin-left:auto;width:17px}
.messenger-history {display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:0;flex:1;padding:6px 11px}
.messenger-bubble {position:relative;max-width:min(88%,245px);padding:5px 9px 4px;box-shadow:0 1px 2px #2733290a;line-height:1.25;font-size:12.5px;color:#2f372d}
.messenger-bubble--out {align-self:flex-end;background:#d8e8c6;border-radius:11px 11px 3px 11px}
.messenger-bubble--in {align-self:flex-start;background:#fff;border-radius:11px 11px 11px 3px}
.messenger-meta {display:flex;justify-content:flex-end;align-items:center;gap:3px;height:9px;margin-top:0;color:#7c8772;font-size:8px;line-height:1}
.messenger-meta>.icon {width:15px;height:12px;color:#64844f;stroke-width:1.5}
.messenger-composer {display:flex;align-items:center;gap:10px;background:#fff;padding:3px 10px;flex:0 0 28px;color:#82877e;font-size:11px}
.messenger-composer>.icon {width:18px;height:18px;stroke-width:1.5;color:#7e8677}
.messenger-send {display:grid;place-items:center;width:22px;height:22px;margin-left:auto;border-radius:50%;background:#6c8258;color:white}
.messenger-send>.icon {width:13px;height:13px;stroke-width:1.7;margin-left:-1px}
.consultation-preview {position:relative;isolation:isolate;background:#354133;color:#fff}
.consultation-doctor {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:50% 50%}
.consultation-preview::after {content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,#15211566,transparent 39%,transparent 52%,#15211580)}
.consultation-top {position:absolute;inset:9px 10px auto;z-index:1;display:flex;justify-content:space-between;align-items:flex-start}
.consultation-top>div {display:grid;gap:4px;text-shadow:0 1px 5px #0006}
.consultation-top strong {font-size:12px;font-weight:550;letter-spacing:-.02em}
.consultation-top>div>span {font-size:9px;font-variant-numeric:tabular-nums;color:#ffffffe6}
.consultation-self {display:block;width:36px;height:45px;overflow:hidden;border:1px solid #ffffffb3;border-radius:8px;box-shadow:0 2px 8px #0003}
.consultation-self img {display:block;width:100%;height:100%;object-fit:cover;object-position:43% 30%}
.consultation-controls {position:absolute;inset:auto 0 8px;z-index:1;display:flex;justify-content:center;gap:10px}
.consultation-controls>span {display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#1b281e80;backdrop-filter:blur(8px);color:#fff}
.consultation-controls .icon {width:14px;height:14px;stroke-width:1.8}
.consultation-controls>.consultation-hangup {background:#df5750;width:28px;border-radius:50%}
.consultation-hangup>.icon {transform:rotate(135deg);width:16px;height:16px;fill:#fff;stroke-width:1}
.welcome-trust {grid-row:4;display:flex;align-items:center;justify-content:center;gap:22px;margin-top:23px;font-size:14px;color:var(--ink-soft)}
.welcome-trust strong {color:var(--ink);font-weight:550}
.welcome-trust .button {font-size:13px;min-height:38px;padding:7px 15px;gap:9px}
/* The continuing conversation is a wide desk, with the child record alongside it. */
.conversation-section {margin-top:65px}
.conversation-intro {display:flex;justify-content:space-between;align-items:center;gap:35px;margin-bottom:24px}
.homepage .conversation-intro h2 {font-size:32px;line-height:1.15}
.conversation-intro>p {font-size:16px;line-height:1.6;color:var(--ink-soft);max-width:410px}
.care-desk {display:grid;grid-template-columns:220px minmax(0,1fr);border:1px solid #dce3d8;border-radius:19px;overflow:hidden;background:#fff;scroll-margin-top:26px}
.homepage .child-card {padding:25px 23px;background:#edf2e7;color:var(--ink)}
.record-label {display:block;font-size:12px;color:#64715c;font-weight:500;margin-bottom:18px}
.homepage .child-card-head {margin-bottom:24px;gap:11px}
.homepage .child-symbol {width:40px;height:40px;color:#fff;background:#6c7e56;border-radius:12px}
.homepage .child-symbol .icon {width:25px;height:25px}
.homepage .child-card-head h3 {font-size:23px;line-height:1.2}
.homepage .child-card-head span {font-size:13px;color:#64715c}
.homepage .child-card-head .child-symbol {color:#fff}
.homepage .child-card dl {gap:16px}
.homepage .child-card dt {color:#6b7865;font-size:12px;margin-bottom:4px}
.homepage .child-card dd {color:var(--ink);font-size:14px;line-height:1.4}
.desk-chat {min-width:0;padding:22px 25px}
.homepage .chat-toolbar {align-items:center;gap:18px}
.chat-toolbar>div:first-child {display:grid;gap:4px;min-width:0}
.chat-toolbar strong {font-size:17px;font-weight:550;line-height:1.3}
.chat-toolbar>div:first-child>span {font-size:12px;color:var(--muted)}
.homepage .chat-toolbar>[role=tablist] {display:flex;gap:4px;padding:4px;border:1px solid #e0e5db;border-radius:12px;background:#f5f6f2}
.homepage .chat-tab {min-height:38px;border-radius:9px;padding:7px 14px;border:1px solid #d1d9cc;background:#fff;font-size:13px;color:#53624c}
.homepage .chat-tab[aria-selected=true] {color:#fff;background:var(--ink);border-color:var(--ink);font-weight:550}
.homepage .cabinet-panel {min-height:234px;padding-top:20px}
.personal-story {display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:25px}
.homepage .messages {gap:15px}
.homepage .message {max-width:94%;gap:5px}
.homepage .message-author {font-size:12px;color:var(--muted)}
.homepage .message p {font-size:15px;line-height:1.5;padding:12px 15px;background:#f4f6f1;border-radius:13px 13px 13px 3px}
.homepage .message--parent p {background:#eef1e9;border-radius:13px 13px 3px 13px}
.story-reading {display:grid;align-content:start;grid-template-columns:1fr auto;min-width:0;gap:7px 8px;border:1px solid #e0e5da;border-radius:11px;padding:9px;background:#fff}
.story-reading>img {grid-column:1/-1;width:100%;height:98px;object-fit:cover;border-radius:6px}
.story-reading>span {grid-column:1/-1;font-size:10px;line-height:1.4;color:var(--muted)}
.story-reading strong {font-size:13px;line-height:1.4;font-weight:550;letter-spacing:-.015em}
.story-reading>.icon {width:14px;height:14px;align-self:end;color:#637552}
.story-reading:hover {border-color:#839476}
.desk-footnote {display:flex;justify-content:space-between;gap:30px;margin-top:15px;font-size:13px;line-height:1.5;color:var(--muted)}
.desk-footnote p:first-child {max-width:610px;color:var(--ink-soft)}
.desk-footnote strong {font-weight:550;color:var(--ink)}
/* Real parent voices: one continuous neutral row, without pastel card cycling. */
.homepage .parents-reviews {max-width:none}
.homepage .review-card--strip {flex:0 0 350px;width:350px;min-width:350px;min-height:248px;height:auto;padding:22px;background:#fff!important;border-color:#dde3d7!important;border-radius:16px}
.homepage .review-card--strip:nth-child(2n) {background:#f6f7f2!important}
.homepage .review-avatar {background:#e8eddf;color:#50603f;border-radius:11px}
.homepage .review-stars {color:#a8683d;font-size:12px}
.homepage .review-card--strip blockquote {font-size:16px;line-height:1.6}
.homepage .review-card-heading time {font-size:12px}
.homepage .review-card-heading :is(h2,h3) {font-size:15px;line-height:1.4;letter-spacing:-.015em;font-weight:600}
.homepage .reviews-all {color:var(--ink);border-color:#b9c3b2}
/* Four specialists form a compact directory; the consilium demonstrates a shared room. */
.specialist-directory {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.specialist-choice {display:grid;grid-template-columns:66px minmax(0,1fr) 15px;gap:15px;align-items:center;padding:18px 16px;border:1px solid #e0e5dc;border-radius:15px;background:#fff;text-align:left;min-width:0}
.specialist-choice:hover {background:#f5f7f1;border-color:#9ba98d}
.specialist-portrait {display:grid;place-items:center;flex:none;width:66px;height:76px;background:#e9eee3;border-radius:12px;color:#839572}
.specialist-choice:nth-child(2n) .specialist-portrait {background:#f3e7e7;color:#a68a87}
.specialist-portrait>.icon {width:39px;height:39px;stroke-width:1.1}
.specialist-label {display:grid;gap:7px;min-width:0}
.specialist-label strong {font-size:17px;font-weight:550;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.specialist-label>span {font-size:11px;color:var(--muted);line-height:1.4}
.specialist-choice>.icon {width:15px;height:15px;color:#68765e}
.consilium-story {display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;margin-top:33px;padding:34px 37px;border-radius:20px;background:#f3f6ed}
.consilium-copy .section-eyebrow {display:block;font-size:13px;font-weight:550;color:#64734e;margin-bottom:12px}
.consilium-copy h3 {font-size:31px;line-height:1.12;letter-spacing:-.04em}
.consilium-copy>p {font-size:15px;line-height:1.6;color:var(--ink-soft);max-width:425px;margin-top:17px}
.consilium-copy>.button {margin-top:21px;font-size:14px;min-height:44px}
.consilium-preview {min-width:0;background:#fff;border:1px solid #d9e3cc;border-radius:15px;padding:22px}
.consilium-top {display:flex;align-items:center;gap:10px}
.consilium-top>.icon {width:20px;height:20px;color:#73855b}
.consilium-top strong {font-size:14px;font-weight:550}
.consilium-top>span {font-size:10px;color:#728068;margin-left:auto}
.consilium-members {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.consilium-members>div {display:grid;justify-items:center;gap:10px;text-align:center}
.consilium-members>div>span {display:grid;place-items:center;width:58px;height:63px;border-radius:12px;background:#ecf0e6;color:#708660}
.consilium-members>div:first-child>span {background:#f6e58c;color:#8f7837}
.consilium-members>div:last-child>span {background:#f2e7e7;color:#a6807b}
.consilium-members .icon {width:28px;height:28px;stroke-width:1.2}
.consilium-members strong {font-size:12px;font-weight:500}
.consilium-preview>p {font-size:12px;line-height:1.5;color:#64705b;text-align:center;margin-top:25px}
.specialists-note {font-size:12px;color:var(--muted);margin-top:14px;line-height:1.5}
/* An editorial lead article and three shorter stories, rather than another equal card row. */
.homepage .knowledge-section,.homepage .parents-tools {max-width:none}
.homepage .reading-grid {display:grid;grid-template-columns:1.05fr 1fr;grid-template-rows:repeat(3,1fr);gap:17px 37px}
.homepage .reading-card {display:grid;grid-template-columns:126px minmax(0,1fr);align-items:center;gap:20px;min-width:0}
.homepage .reading-cover {aspect-ratio:1.42;border-radius:12px;overflow:hidden;background:#f2f4ee}
.homepage .reading-card h3 {font-size:18px;line-height:1.4;font-weight:550;margin:0;letter-spacing:-.025em}
.homepage .reading-card h3 span {color:#7c8b6a}
.homepage .reading-card--featured {grid-row:1/4;display:block;align-self:start}
.homepage .reading-card--featured .reading-cover {aspect-ratio:1.85}
.homepage .reading-card--featured h3 {font-size:24px;line-height:1.3;margin-top:16px;max-width:510px}
.homepage .reading-card:hover h3 {color:#5f7449}
.homepage .reading-card:hover .reading-cover {box-shadow:0 0 0 2px #c2ceb7}
.homepage .parents-tools {margin-top:45px}
.homepage .parents-tools h2 {font-size:23px}
.homepage .parents-tools .section-heading-row {margin-bottom:22px}
.homepage .resource-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.homepage .resource-card {display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:84px 1fr;gap:17px 12px;align-items:start;border:1px solid #e0e5dc;border-radius:14px;background:#fff;padding:15px;min-height:172px}
.homepage .resource-image {grid-row:1;grid-column:1/-1;width:100%;height:84px;border-radius:8px}
.homepage .resource-card h3 {font-size:16px;line-height:1.35;font-weight:550;letter-spacing:-.02em}
.homepage .resource-card>.icon {grid-row:2;grid-column:2;width:17px;height:17px;color:#71835b}
.homepage .resource-card:hover {border-color:#9cae8d}
.homepage .resource-card:hover h3 {color:#5f7449}
/* Quiet useful answers and full original footer content. */
.homepage .faq-section {max-width:none;grid-template-columns:1fr 1.7fr;gap:70px}
.homepage .faq-list details {background:#f5f7f1;border:1px solid #e9eee2;border-radius:12px;padding:19px 23px}
.homepage .faq-list summary {font-size:16px;line-height:1.45}
.homepage .faq-list details>div {font-size:16px}
.homepage .channels-section {max-width:none;padding:25px 0;background:#fff}
.homepage .channels-section h2 {font-size:23px}
.homepage .channel-links>a {border-color:#b9c4af;border-radius:10px;background:#fff;color:var(--ink);padding-inline:20px}
.homepage .channel-symbol {color:#687d50}
.homepage .full-footer {max-width:none;margin-top:35px}
.homepage .footer-cols {padding-top:35px}
.homepage .footer-license {color:#697064}
/* Responsive composition, with the service choices before photography on phones. */
@media(max-width:1150px) {
  .homepage .page-shell {padding-inline:34px}
  .homepage .site-nav {gap:19px;font-size:13px}
  .homepage .brand {width:160px}
  .welcome-copy h1 {font-size:48px}
  .welcome-copy {gap:40px}
  .service-entries {width:calc(100% - 64px)}
  .service-entry {grid-template-columns:1fr;gap:14px;padding:20px 22px}
  .service-entry--appointment h2 {margin-top:0}
  .service-entry p {margin-top:8px}
  .care-desk {grid-template-columns:190px minmax(0,1fr)}
  .homepage .child-card {padding-inline:20px}
  .desk-chat {padding:21px}
  .personal-story {grid-template-columns:minmax(0,1fr) 150px;gap:18px}
  .homepage .chat-tab {padding-inline:12px}
  .specialist-directory {gap:12px}
  .specialist-choice {grid-template-columns:49px minmax(0,1fr) 14px;gap:12px;padding:16px 12px}
  .specialist-portrait {width:49px;height:65px}
  .specialist-label strong {font-size:16px}
  .specialist-label>span {font-size:10px}
  .consilium-story {gap:37px;padding:30px}
  .homepage .reading-grid {gap:17px 28px}
  .homepage .reading-card {grid-template-columns:108px minmax(0,1fr);gap:17px}
  .homepage .reading-card h3 {font-size:17px}
  .homepage .reading-card--featured h3 {font-size:23px}
}
@media(max-width:900px) {
  .homepage .page-shell {padding-inline:27px}
  .homepage .site-nav {gap:13px}
  .homepage .brand {width:144px}
  .homepage .site-header {gap:15px}
  .welcome {padding-top:18px}
  .welcome-copy {display:block}
  .welcome-copy h1 {font-size:45px}
  .welcome-copy>p {max-width:590px;font-size:17px;margin-top:18px}
  .welcome-scene {height:285px}
  .service-entries {width:calc(100% - 38px);margin-top:-39px}
  .service-entry {padding:20px;gap:14px}
  .homepage .service-entry h2 {font-size:23px}
  .service-entry p {font-size:15px}
  .welcome-trust {margin-top:20px;font-size:13px;gap:17px}
  .conversation-intro {gap:28px}
  .homepage .conversation-intro h2 {font-size:29px}
  .conversation-intro>p {font-size:14px}
  .care-desk {grid-template-columns:170px minmax(0,1fr)}
  .homepage .child-card {padding:23px 17px}
  .homepage .child-card-head {gap:9px}
  .homepage .child-symbol {width:31px;height:35px;border-radius:9px}
  .homepage .child-card-head h3 {font-size:21px}
  .homepage .child-card-head span {font-size:12px}
  .homepage .child-card dd {font-size:13px}
  .desk-chat {padding:20px}
  .personal-story {grid-template-columns:1fr;gap:15px}
  .story-reading {display:grid;grid-template-columns:56px minmax(0,1fr) 16px;grid-template-rows:auto auto;gap:4px 11px;align-items:center}
  .story-reading>img {grid-column:1;grid-row:1/3;width:56px;height:55px}
  .story-reading>span {grid-column:2;grid-row:1}
  .story-reading strong {grid-column:2;grid-row:2;font-size:12px}
  .story-reading>.icon {grid-column:3;grid-row:1/3;align-self:center}
  .homepage .chat-toolbar {flex-wrap:wrap;gap:14px}
  .homepage .chat-toolbar>div:first-child {width:100%;display:flex;justify-content:space-between;gap:12px}
  .homepage .cabinet-panel {min-height:295px}
  .desk-footnote {font-size:12px;gap:25px}
  .specialist-directory {grid-template-columns:repeat(2,minmax(0,1fr))}
  .specialist-choice {grid-template-columns:59px minmax(0,1fr) 16px;padding:16px 19px;gap:17px}
  .specialist-portrait {width:59px;height:67px}
  .specialist-label strong {font-size:18px}
  .specialist-label>span {font-size:12px}
  .consilium-story {gap:25px;padding:27px}
  .consilium-copy h3 {font-size:28px}
  .consilium-copy>p {font-size:14px}
  .consilium-preview {padding:18px}
  .consilium-top {gap:8px;flex-wrap:wrap}
  .consilium-top>span {margin-left:29px;width:100%}
  .consilium-members {gap:10px}
  .consilium-members>div>span {width:48px;height:54px}
  .consilium-members strong {font-size:11px}
  .homepage .reading-grid {gap:17px 24px}
  .homepage .reading-card {grid-template-columns:87px minmax(0,1fr);gap:14px}
  .homepage .reading-card h3 {font-size:15px;line-height:1.4}
  .homepage .reading-card--featured h3 {font-size:22px}
  .homepage .reading-card--featured .reading-cover {aspect-ratio:1.3}
  .homepage .resource-grid {gap:12px}
  .homepage .resource-card {padding:12px;gap:13px 9px}
  .homepage .resource-card h3 {font-size:14px}
  .homepage .faq-section {gap:38px}
}
@media(max-width:760px) {
  .homepage .page-shell {padding-inline:22px}
  .homepage .site-header {padding-block:20px}
  .homepage .brand {width:170px}
  .homepage .site-nav {font-size:16px;gap:4px}
  .welcome {padding-top:16px}
  .welcome-copy {margin-bottom:25px}
  .welcome-copy h1 {font-size:42px;line-height:1.08;letter-spacing:-.05em}
  .welcome-copy>p {font-size:16px;max-width:500px;margin-top:17px}
  .welcome-scene {display:none}
  .service-entries {grid-row:2;grid-template-columns:1fr 1fr;width:100%;margin:0;border-radius:17px;box-shadow:none}
  .service-entry {padding:18px;gap:12px}
  .homepage .service-entry h2 {font-size:22px;line-height:1.2}
  .service-entry p {font-size:14.5px;line-height:1.4}
  .service-entry>.entry-cta {font-size:15px;padding:11px 16px;gap:12px;min-height:52px}
  .welcome-trust {grid-row:3;margin-top:21px;font-size:13px;gap:15px}
  .welcome-trust span {max-width:360px}
  .welcome-trust .button {font-size:12px;min-height:37px;white-space:nowrap}
  .conversation-section {margin-top:48px}
  .conversation-intro {align-items:flex-start;gap:18px;flex-direction:column;margin-bottom:22px}
  .homepage .conversation-intro h2 {font-size:29px}
  .conversation-intro>p {font-size:15px;line-height:1.5}
  .care-desk {grid-template-columns:1fr}
  .homepage .child-card {display:grid;grid-template-columns:1fr 1.5fr;gap:15px 22px;padding:20px 22px}
  .record-label {grid-column:1/-1;margin:0;font-size:12px}
  .homepage .child-card-head {grid-column:1;align-self:start;margin:0;align-items:center}
  .homepage .child-symbol {width:35px;height:38px}
  .homepage .child-card-head h3 {font-size:22px}
  .homepage .child-card dl {grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
  .homepage .child-card dl>div:last-child {display:none}
  .homepage .child-card dt {font-size:11px}
  .homepage .child-card dd {font-size:12px}
  .desk-chat {padding:23px}
  .homepage .chat-toolbar {flex-wrap:nowrap}
  .homepage .chat-toolbar>div:first-child {display:grid;width:auto}
  .homepage .chat-toolbar strong {font-size:17px}
  .homepage .chat-toolbar>div:first-child>span {font-size:11px}
  .homepage .chat-tab {font-size:13px;padding-inline:13px}
  .homepage .cabinet-panel {min-height:280px}
  .homepage .message p {font-size:16px}
  .homepage .message-author {font-size:13px}
  .personal-story {grid-template-columns:1fr;gap:18px}
  .story-reading {padding:9px}
  .story-reading>img {width:56px;height:56px}
  .story-reading strong {font-size:13px}
  .story-reading>span {font-size:11px}
  .desk-footnote {display:grid;gap:10px;font-size:13px}
  .homepage .section-space,.homepage :is(.parents-reviews,.knowledge-section,.parents-tools,.faq-section,.channels-section).section-space {margin-top:49px}
  .homepage h2,.homepage :is(.parents-reviews,.knowledge-section,.parents-tools,.faq-section,.channels-section) h2 {font-size:28px}
  .homepage .review-card--strip {flex-basis:318px;width:318px;min-width:318px;min-height:252px}
  .homepage .parents-reviews .section-heading-row {align-items:flex-start;gap:18px}
  .homepage .reviews-all {font-size:14px;min-height:43px}
  .homepage .section-lead {font-size:16px}
  .specialist-directory {gap:13px}
  .specialist-choice {padding:16px;gap:12px;grid-template-columns:45px minmax(0,1fr) 14px}
  .specialist-portrait {width:45px;height:59px}
  .specialist-portrait>.icon {width:31px;height:31px}
  .specialist-label strong {font-size:17px}
  .specialist-label>span {font-size:10px}
  .consilium-story {gap:27px;padding:27px;grid-template-columns:1fr;margin-top:24px}
  .consilium-copy h3 {font-size:30px}
  .consilium-copy>p {font-size:16px;max-width:500px;margin-top:15px}
  .consilium-copy>.button {margin-top:20px}
  .consilium-preview {padding:22px}
  .consilium-top>span {margin-left:auto;width:auto}
  .consilium-top strong {font-size:15px}
  .consilium-members>div>span {width:61px;height:65px}
  .consilium-members strong {font-size:12px}
  .consilium-preview>p {font-size:12px}
  .specialists-note {font-size:12px;max-width:500px}
  .homepage .reading-grid {grid-template-columns:1fr;grid-template-rows:auto;gap:22px}
  .homepage .reading-card {grid-template-columns:116px minmax(0,1fr);gap:20px}
  .homepage .reading-card h3 {font-size:17px}
  .homepage .reading-card--featured {grid-row:auto}
  .homepage .reading-card--featured .reading-cover {aspect-ratio:1.85}
  .homepage .reading-card--featured h3 {font-size:22px;margin-top:15px}
  .homepage .parents-tools {margin-top:39px}
  .homepage .parents-tools h2 {font-size:23px}
  .homepage .resource-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .homepage .resource-card {padding:13px;gap:14px 10px}
  .homepage .resource-card h3 {font-size:15px}
  .homepage .faq-section {grid-template-columns:1fr;gap:24px}
  .homepage .faq-list details {padding:19px 21px}
  .homepage .channels-section {gap:20px;padding:0}
  .homepage .channels-section h2 {font-size:23px}
  .homepage .channel-links>a {font-size:14px}
}
@media(max-width:640px) {
  .service-preview {height:140px}
  .messenger-bubble {font-size:12px}
  .messenger-top {flex-basis:34px}
  .messenger-contact strong,.consultation-top strong {font-size:12px}
  .messenger-history {padding-inline:11px}
  .messenger-composer {display:none}
  .service-entry {padding:16px;gap:11px}
  .service-entries {grid-template-columns:1fr}
  .service-entry--appointment {border-top:1px solid #e0e5db}
}
@media(max-width:480px) {
  .service-preview {height:140px}
  .messenger-bubble {font-size:12px}
  .homepage .page-shell {padding-inline:20px}
  .welcome {padding-top:12px}
  .welcome-copy h1 {font-size:37px}
  .welcome-copy>p {font-size:15px;line-height:1.6;max-width:360px}
  .service-entries {grid-template-columns:1fr;gap:0}
  .service-entry {display:grid;grid-template-columns:1fr;padding:16px;gap:11px;align-items:start}
  .service-entry--appointment {border-top:1px solid #e0e5db}
  .homepage .service-entry h2 {font-size:22px}
  .service-entry p {font-size:14.5px;margin-top:7px}
  .service-entry>.entry-cta {font-size:15px;padding:11px 16px;gap:12px;min-height:50px}
  .welcome-trust {align-items:center;justify-content:space-between;gap:11px;margin-top:18px;font-size:12px;line-height:1.5}
  .welcome-trust strong {display:block}
  .welcome-trust .button {font-size:12px;padding:7px 13px}
  .conversation-section {margin-top:43px}
  .homepage .conversation-intro h2 {font-size:28px}
  .conversation-intro>p br {display:none}
  .conversation-intro>p {font-size:15px}
  .homepage .child-card {padding:19px;gap:14px 20px;grid-template-columns:110px minmax(0,1fr)}
  .homepage .child-symbol {display:none}
  .homepage .child-card dl {grid-template-columns:1fr;gap:8px}
  .homepage .child-card-head h3 {font-size:22px}
  .homepage .child-card dt {font-size:10px;margin-bottom:2px}
  .homepage .child-card dd {font-size:12px}
  .record-label {font-size:11px}
  .desk-chat {padding:18px}
  .homepage .chat-toolbar {flex-wrap:wrap;gap:14px}
  .homepage .chat-toolbar>div:first-child {width:100%;display:flex;justify-content:space-between;align-items:center}
  .homepage .chat-toolbar strong {font-size:17px}
  .homepage .chat-toolbar>[role=tablist] {width:100%;border-radius:12px}
  .homepage .chat-tab {flex:1;font-size:14px;min-height:40px}
  .homepage .cabinet-panel {min-height:315px;padding-top:20px}
  .homepage .message {max-width:98%}
  .homepage .message p {font-size:15px;padding:11px 13px}
  .story-reading {grid-template-columns:48px minmax(0,1fr) 14px;gap:4px 10px}
  .story-reading>img {width:48px;height:50px}
  .story-reading strong {font-size:12px}
  .story-reading>span {font-size:10px}
  .homepage .parents-reviews .section-heading-row {flex-wrap:wrap;gap:18px}
  .homepage .parents-reviews h2 {max-width:290px}
  .homepage .reviews-actions {margin-left:auto}
  .homepage .review-card--strip {flex-basis:308px;width:308px;min-width:308px;min-height:255px}
  .specialist-directory {gap:11px}
  .specialist-choice {grid-template-columns:minmax(0,1fr) 14px;gap:12px;padding:16px;min-height:143px}
  .specialist-portrait {grid-column:1;grid-row:1;width:45px;height:52px}
  .specialist-label {grid-column:1;grid-row:2;gap:5px}
  .specialist-label strong {font-size:17px}
  .specialist-choice>.icon {grid-column:2;grid-row:2}
  .consilium-story {padding:24px 21px}
  .consilium-copy h3 {font-size:29px}
  .consilium-copy>p {font-size:15px}
  .consilium-preview {padding:18px}
  .consilium-top strong {font-size:13px}
  .consilium-top>span {font-size:9px}
  .consilium-members {gap:8px;margin-top:22px}
  .consilium-members>div>span {width:51px;height:58px}
  .consilium-members strong {font-size:10px}
  .consilium-preview>p {font-size:11px;margin-top:22px}
  .homepage .knowledge-section .section-heading-row {gap:18px}
  .homepage .knowledge-section h2 {max-width:310px}
  .homepage .reading-card {grid-template-columns:104px minmax(0,1fr);gap:16px}
  .homepage .reading-card h3 {font-size:16px}
  .homepage .reading-card--featured h3 {font-size:22px}
  .homepage .reading-card--featured .reading-cover {aspect-ratio:1.5}
  .homepage .parents-tools h2 {font-size:22px}
  .homepage .resource-card {padding:12px;gap:12px 8px;grid-template-rows:80px 1fr}
  .homepage .resource-image {height:80px}
  .homepage .resource-card h3 {font-size:14px;line-height:1.4}
}
@media(max-width:360px) {
  .homepage .review-card--strip {flex-basis:280px;width:280px;min-width:280px}
  .homepage .page-shell {padding-inline:16px}
  .welcome-copy h1 {font-size:32px}
  .welcome-copy>p {font-size:14px}
  .service-entry {grid-template-columns:1fr;padding:16px;gap:11px}
  .homepage .service-entry h2 {font-size:22px}
  .service-entry p {font-size:14px}
  .service-entry>.entry-cta {font-size:15px;padding-inline:14px;gap:10px;grid-template-columns:minmax(0,1fr) 18px}
  .welcome-trust {font-size:11px;gap:10px}
  .welcome-trust .button {font-size:11px;padding-inline:11px;gap:6px}
  .homepage .conversation-intro h2 {font-size:26px}
  .homepage .child-card {padding:18px;grid-template-columns:83px minmax(0,1fr);gap:13px 17px}
  .desk-chat {padding:16px}
  .homepage .message p {font-size:14px}
  .homepage .cabinet-panel {min-height:325px}
  .homepage h2,.homepage :is(.parents-reviews,.knowledge-section,.parents-tools,.faq-section,.channels-section) h2 {font-size:26px}
  .homepage .reading-card {grid-template-columns:89px minmax(0,1fr);gap:15px}
  .homepage .reading-card h3 {font-size:15px}
  .homepage .reading-card--featured h3 {font-size:21px}
  .homepage .resource-grid {grid-template-columns:1fr}
  .homepage .resource-card {grid-template-columns:71px minmax(0,1fr) 18px;grid-template-rows:auto;gap:12px;min-height:95px;padding:10px}
  .homepage .resource-image {grid-row:1;grid-column:1;width:71px;height:71px}
  .homepage .resource-card h3 {font-size:16px}
  .homepage .resource-card>.icon {grid-row:1;grid-column:3}
  .specialist-label strong {font-size:15px}
  .consilium-story {padding:22px 18px}
  .consilium-copy h3 {font-size:27px}
  .consilium-preview {padding:17px 14px}
  .consilium-top {gap:7px}
  .consilium-top strong {font-size:12px}
  .consilium-top>span {width:100%;margin-left:27px}
  .consilium-members {gap:8px}
}

.homepage .review-card--full {background:#fff;border-color:#dfe5d9;border-radius:16px}
.homepage .review-card--full:nth-child(2n) {background:#f6f7f2}
.homepage .reviews-count {background:#edf1e7;color:var(--ink)}
.homepage .doctor-radios label {background:#f5f7f1;border-color:#dfe5d8}
.homepage .doctor-radios label:has(input:checked) {background:#fbf0b9;border-color:#b9a748}
.homepage .question-draft {background:#f4f6ef}

/* A clear next step after the complete review wall. */
.reviews-page .review-next-step {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.7fr);align-items:center;gap:32px;margin-top:20px;padding:32px;border-radius:20px;background:#fcf5d6}
.reviews-page .review-next-step h2 {font-size:28px;line-height:1.15;letter-spacing:-.035em}
.review-next-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.reviews-page .review-next-actions>.button {display:grid;grid-template-columns:minmax(0,1fr) 18px;gap:12px;min-width:0;min-height:58px;padding:12px 18px;border-width:1px;border-style:solid;border-radius:12px;line-height:1.4}
.reviews-page .review-next-actions>.button-primary {border-color:transparent}
.review-next-actions>.button .icon {width:18px;height:18px}
@media(max-width:1100px) {
  .reviews-page .review-next-step {grid-template-columns:1fr;gap:22px}
}
@media(max-width:600px) {
  .reviews-page .review-next-step {margin-top:16px;padding:24px 18px;gap:20px;border-radius:16px}
  .reviews-page .review-next-step h2 {font-size:27px;max-width:270px}
  .review-next-actions {grid-template-columns:1fr;gap:12px}
  .reviews-page .review-next-actions>.button {min-height:66px;padding:10px 16px;font-size:15px}
}
