@charset "UTF-8";
/* === «Ты в порядке» — стили сайта === */

  :root {
    --bg: #0E2228;
    --bg-lift: #152D33;
    --bg-soft: #1A353B;
    --ink: #F8F5EF;
    --muted: #9BAEAD;
    --dim: #6B8582;
    --line: rgba(77,124,125,0.12);
    --glow: #5A9E9F;
    --glow-soft: rgba(90,158,159,0.15);
    --glow-dim: #4A8586;
    --rose: #C97B73;
    --warm: #C58B32;
    --photo: #0D1E23;
    --shadow: rgba(0,0,0,0.25);
  }
  .tvp, .tvp *, .tvp *::before, .tvp *::after { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body, .tvp {
    font-family:'Onest',system-ui,sans-serif;
    color:var(--ink);
    background:var(--bg);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    font-size:16px;
    overflow-x:hidden;
  }
  /* Soft ambient background blobs */
  body::before {
    content:"";
    position:fixed; inset:0;
    background:
      radial-gradient(ellipse 80% 60% at 20% 30%, rgba(90,158,159,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 85% 70%, rgba(201,123,115,0.04) 0%, transparent 50%),
      radial-gradient(ellipse 50% 50% at 50% 50%, rgba(197,139,50,0.03) 0%, transparent 50%);
    pointer-events:none; z-index:0;
  }
  /* Film grain noise overlay */
  body::after {
    content:"";
    position:fixed; inset:0;
    background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events:none; z-index:500;
  }

  .serif { font-family:'Lora',Georgia,serif; }

  .display {
    font-family:'Lora',Georgia,serif;
    font-size:clamp(38px, 7vw, 84px);
    font-weight:400;
    line-height:1.08;
    letter-spacing:-0.02em;
    color:var(--ink);
  }
  .display em { font-style:italic; color:var(--glow); }
  .headline {
    font-family:'Lora',Georgia,serif;
    font-size:clamp(30px, 4.5vw, 52px);
    font-weight:400;
    line-height:1.1;
    letter-spacing:-0.015em;
  }
  .title {
    font-family:'Lora',Georgia,serif;
    font-size:clamp(24px, 3vw, 36px);
    font-weight:400;
    line-height:1.15;
  }
  .body-text {
    font-size:17px;
    line-height:1.8;
    color:var(--muted);
    max-width:540px;
  }
  .label {
    font-size:11px;
    font-weight:500;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--dim);
  }

  .page { max-width:1140px; margin:0 auto; padding:0 5%; position:relative; z-index:1; }

  /* Scroll reveal */
  .reveal {
    opacity:0;
    transform:translateY(40px) rotate(0.3deg);
    transition:opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
  }
  .reveal.visible {
    opacity:1;
    transform:translateY(0) rotate(0deg);
  }
  .reveal-delay-1 { transition-delay:0.1s; }
  .reveal-delay-2 { transition-delay:0.2s; }
  .reveal-delay-3 { transition-delay:0.35s; }

  /* Floating blobs */
  .blob {
    position:fixed;
    border-radius:50%;
    filter:blur(80px);
    pointer-events:none;
    z-index:0;
    opacity:0.5;
    animation:floatBlob 20s ease-in-out infinite;
  }
  .blob-1 {
    width:500px; height:500px;
    background:rgba(90,158,159,0.08);
    top:-10%; left:-10%;
    animation-duration:25s;
  }
  .blob-2 {
    width:400px; height:400px;
    background:rgba(201,123,115,0.06);
    bottom:10%; right:-5%;
    animation-duration:30s;
    animation-delay:-5s;
  }
  .blob-3 {
    width:300px; height:300px;
    background:rgba(197,139,50,0.05);
    top:40%; left:60%;
    animation-duration:22s;
    animation-delay:-10s;
  }
  @keyframes floatBlob {
    0%,100% { transform:translate(0,0) scale(1); }
    33% { transform:translate(30px,-20px) scale(1.05); }
    66% { transform:translate(-20px,15px) scale(0.95); }
  }

  /* Header */
  .header {
    display:flex; flex-wrap:wrap; gap:12px;
    justify-content:space-between; align-items:center;
    padding:28px 5%;
    position:relative;
  }
  .header::after {
    content:"";
    position:absolute; bottom:0; left:5%; right:5%;
    height:1px;
    background:linear-gradient(90deg, transparent, var(--line), transparent);
  }
  .header-logo {
    font-family:'Lora',serif;
    font-size:20px;
    letter-spacing:0.01em;
    color:var(--ink);
  }
  .header-meta {
    font-size:10px;
    letter-spacing:0.1em;
    color:var(--dim);
    text-transform:uppercase;
  }

  /* Hero with photo */
  .hero { position:relative; padding:0; }
  .hero-visual {
    position:relative;
    aspect-ratio:16/9;
    min-height:min(78vh, 760px);
    background:url("https://storage.yandexcloud.net/tyvporyadke-site/hero-fon.webp") center center / cover no-repeat;
    overflow:hidden;
    border-radius:0 0 40px 40px;
    margin:0 -5%;
    width:calc(100% + 10%);
  }
  .hero-visual::after {
    content:"";
    position:absolute; inset:0;
    /* Multi-layer gradient: left for text, bottom for fade */
    background:
      linear-gradient(to right, rgba(14,34,40,0.88) 0%, rgba(14,34,40,0.5) 45%, transparent 75%),
      linear-gradient(to top, var(--bg) 0%, rgba(14,34,40,0.7) 45%, transparent 70%);
  }
  .hero {
    position:relative;
    padding:24px 0 0;
  }
  .hero-gradient {
    position:absolute;
    inset:0;
    z-index:1;
    background:
      linear-gradient(90deg, rgba(9,24,28,0.78) 0%, rgba(9,24,28,0.54) 34%, rgba(9,24,28,0.18) 58%, rgba(9,24,28,0.06) 100%),
      linear-gradient(0deg, rgba(9,24,28,0.42) 0%, rgba(9,24,28,0.10) 28%, rgba(9,24,28,0) 58%);
  }
  .hero-title-wrap {
    position:absolute;
    left:5%;
    right:auto;
    top:auto;
    bottom:clamp(90px, 11vh, 126px);
    width:min(900px, 72vw);
    z-index:2;
  }
  .hero-title-wrap .display {
    color:#F4F7F6;
    font-size:clamp(40px, 5.2vw, 70px);
    line-height:1.04;
    text-shadow:0 10px 36px rgba(0,0,0,0.28);
  }
  .hero-bottom {
    display:flex; flex-wrap:wrap;
    gap:32px 56px;
    width:min(1140px, calc(100% - 10%));
    margin:-54px auto 0;
    padding:34px clamp(24px, 3vw, 38px) 40px;
    align-items:flex-start;
    position:relative;
    z-index:4;
    background:rgba(17,31,35,0.86);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:28px;
    backdrop-filter:blur(18px);
    box-shadow:0 24px 60px rgba(0,0,0,0.24);
  }
  .hero-cta-stack {
    flex:0 1 400px;
    display:flex; flex-direction:column; gap:12px;
  }
  .cta-primary {
    display:flex; align-items:center; justify-content:space-between;
    min-height:60px; padding:0 28px;
    background:var(--glow); color:var(--bg);
    font-size:15px; font-weight:600;
    text-decoration:none;
    border-radius:16px;
    transition:all 0.35s ease;
    border:none; cursor:pointer;
    box-shadow:0 4px 24px rgba(90,158,159,0.2);
  }
  .cta-primary:hover {
    background:var(--glow-dim);
    transform:translateY(-2px);
    box-shadow:0 8px 32px rgba(90,158,159,0.3);
  }
  .cta-secondary {
    display:flex; align-items:center; justify-content:space-between;
    min-height:60px; padding:0 28px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(77,124,125,0.2);
    color:var(--ink);
    font-size:15px; font-weight:500;
    text-decoration:none;
    border-radius:16px;
    transition:all 0.35s ease;
    backdrop-filter:blur(8px);
  }
  .cta-secondary:hover {
    border-color:var(--glow);
    background:rgba(90,158,159,0.08);
    transform:translateY(-2px);
  }

  /* Quotes */
  .quotes-section { padding:20px 0 100px; }
  .quotes-label {
    margin:0 0 48px;
    font-size:10px;
    letter-spacing:0.14em;
    color:var(--dim);
    text-transform:uppercase;
  }
  .quotes-flow {
    display:flex; flex-direction:column;
    gap:0;
    max-width:800px;
  }
  .quote-line {
    font-family:'Lora',Georgia,serif;
    font-style:italic;
    font-weight:400;
    font-size:clamp(24px, 3.2vw, 38px);
    line-height:1.25;
    letter-spacing:-0.01em;
    padding:28px 0;
    position:relative;
    transition:all 0.4s ease;
    color: var(--ink);
    cursor:pointer; user-select:none;
  }
  .quote-line::after {
    content:"";
    position:absolute; bottom:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, var(--line), transparent 80%);
  }
  .quote-line:hover { padding-left:16px; color:var(--glow); }
  .quote-line:nth-child(1) { max-width:24ch; }
  .quote-line:nth-child(2) { max-width:30ch; align-self:flex-end; text-align:right; }
  .quote-line:nth-child(3) { max-width:26ch; margin-left:8%; }
  .quote-line:nth-child(4) { max-width:24ch; align-self:center; }
  .quote-line:nth-child(5) { max-width:28ch; align-self:flex-end; text-align:right; margin-right:5%; }
  .quote-line:nth-child(6) { max-width:22ch; padding-bottom:0; }
  .quote-line:nth-child(6)::after { display:none; }
  .quotes-footer {
    margin-top:48px;
    padding:24px 28px;
    background:var(--bg-lift);
    border-radius:20px;
    font-size:17px;
    line-height:1.7;
    color:var(--muted);
    max-width:44ch;
  }

  /* Quote answers */
  .quote-answer {
    max-height:0; overflow:hidden;
    transition:all 0.5s cubic-bezier(0.4,0,0.2,1);
    opacity:0;
    padding-left:2px;
  }
  .quote-line.open + .quote-answer {
    max-height:240px; padding-top:16px; padding-bottom:12px; opacity:1;
  }
  .quote-answer p {
    margin:0; max-width:52ch; font-size:15px; line-height:1.75; color:var(--muted);
    border-left:2px solid rgba(77,124,125,0.2); padding-left:16px;
  }
  .quote-sign {
    position:absolute; right:0; top:28px;
    font-size:14px; color:var(--glow);
    transition:transform 0.4s ease; opacity:0.4;
  }
  .quote-line.open .quote-sign { transform:rotate(45deg); opacity:1; }

  /* Steps */
  .steps-section {
    padding:80px 0;
    position:relative;
  }
  .steps-section::before {
    content:"";
    position:absolute; inset:0;
    background:var(--bg-lift);
    border-radius:40px;
    margin:0 -5%;
    width:calc(100% + 10%);
    z-index:-1;
  }
  .steps-grid {
    display:flex; flex-wrap:wrap;
    gap:24px;
    margin-top:48px;
  }
  .step {
    flex:1 1 280px;
    min-width:260px;
    padding:32px;
    background:rgba(255,255,255,0.02);
    border:1px solid var(--line);
    border-radius:24px;
    transition:all 0.35s ease;
  }
  .step:hover {
    background:rgba(90,158,159,0.05);
    border-color:rgba(90,158,159,0.2);
    transform:translateY(-4px);
  }
  .step-label {
    font-size:11px;
    font-weight:500;
    letter-spacing:0.1em;
    color:var(--glow);
    margin-bottom:12px;
    text-transform:uppercase;
  }
  .step-title {
    font-family:'Lora',serif;
    font-size:22px;
    font-weight:400;
    margin-bottom:10px;
    color:var(--ink);
  }
  .step-text {
    font-size:15px;
    line-height:1.75;
    color:var(--muted);
  }
  .frames-row {
    display:flex; flex-wrap:wrap;
    gap:28px 40px;
    margin-top:48px;
    padding-top:32px;
    position:relative;
  }
  .frames-row::before {
    content:"";
    position:absolute; top:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, var(--line), transparent 60%);
  }
  .frame-item {
    display:flex; flex-direction:column; gap:6px;
  }
  .frame-val {
    font-family:'Lora',serif;
    font-size:30px;
    line-height:1;
    color:var(--ink);
  }
  .frame-key {
    font-size:12px;
    color:var(--dim);
  }
  .why-free {
    flex:1 1 300px;
    max-width:46ch;
    padding:24px;
    background:rgba(197,139,50,0.06);
    border-radius:20px;
    border:1px solid rgba(197,139,50,0.12);
  }
  .why-free-title {
    font-size:13px;
    font-weight:600;
    color:var(--warm);
    margin-bottom:8px;
    text-transform:uppercase;
    letter-spacing:0.08em;
  }
  .why-free-text {
    font-size:14.5px;
    line-height:1.75;
    color:var(--muted);
  }

  /* Screening */
  .screening-section { padding:80px 0; }
  .screening-grid {
    display:flex; flex-wrap:wrap;
    gap:48px 60px;
  }
  .screening-left { flex:1 1 340px; }
  .screening-right { flex:1 1 320px; min-width:280px; }
  .screening-list-label {
    font-size:10px;
    letter-spacing:0.12em;
    color:var(--dim);
    margin-bottom:16px;
    text-transform:uppercase;
  }
  .screening-item {
    display:flex; gap:16px; align-items:baseline;
    padding:14px 20px;
    margin-bottom:6px;
    border-radius:12px;
    transition:background 0.3s;
  }
  .screening-item:hover { background:rgba(90,158,159,0.05); }
  .screening-num {
    font-size:11px;
    font-weight:600;
    color:var(--glow);
    min-width:24px;
  }
  .screening-text { font-size:15px; line-height:1.4; }
  .screening-cta {
    display:inline-flex; align-items:center;
    min-height:56px; padding:0 32px;
    background:var(--glow); color:var(--bg);
    font-size:15px; font-weight:600;
    text-decoration:none;
    margin-top:12px;
    border-radius:16px;
    transition:all 0.35s ease;
    box-shadow:0 4px 20px rgba(90,158,159,0.2);
  }
  .screening-cta:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 28px rgba(90,158,159,0.3);
  }
  .screening-disclaimer {
    font-size:10px;
    letter-spacing:0.08em;
    color:var(--dim);
    margin-top:16px;
  }

  /* Psychologists */
  .psych-section {
    padding:60px 0 80px;
    position:relative;
  }
  .psych-section::before {
    content:"";
    position:absolute; inset:0;
    background:var(--bg-lift);
    border-radius:40px;
    margin:0 -5%;
    width:calc(100% + 10%);
    z-index:-1;
  }
  .psych-header {
    display:flex; flex-wrap:wrap;
    gap:14px; align-items:baseline;
    justify-content:space-between;
    margin-bottom:10px;
  }
  .psych-sub {
    margin:0 0 28px;
    max-width:50ch;
    font-size:15px;
    line-height:1.65;
    color:var(--muted);
  }
  .topic-filters {
    display:flex; flex-wrap:wrap; gap:8px;
    margin-bottom:36px;
  }
  .topic-btn {
    min-height:44px; padding:0 20px;
    font-family:'Onest',sans-serif;
    font-size:13px;
    cursor:pointer;
    border:1px solid var(--line);
    background:rgba(255,255,255,0.02);
    color:var(--ink);
    border-radius:12px;
    transition:all 0.3s ease;
  }
  .topic-btn:hover, .topic-btn.active {
    background:var(--glow);
    border-color:var(--glow);
    color:var(--bg);
    box-shadow:0 4px 16px rgba(90,158,159,0.25);
  }
  .psych-grid {
    display:flex; flex-wrap:wrap;
    gap:20px;
  }
  .psych-card {
    flex:1 1 230px;
    font:inherit;
    text-align:left;
    appearance:none;
    -webkit-appearance:none;
    min-width:215px;
    max-width:300px;
    padding:16px;
    background:rgba(255,255,255,0.02);
    border:1px solid var(--line);
    border-radius:24px;
    transition:all 0.4s ease;
      text-decoration:none; color:inherit; cursor:pointer;
  }
  .psych-card:hover {
    transform:translateY(-6px);
    border-color:rgba(90,158,159,0.2);
    box-shadow:0 16px 40px rgba(0,0,0,0.2);
  }
  .psych-photo {
    position:relative;
    aspect-ratio:4/5;
    background:var(--photo);
    background-image:
      repeating-linear-gradient(100deg, rgba(0,0,0,0.3) 0 2px, transparent 2px 8px),
      radial-gradient(circle at 55% 35%, rgba(92,184,178,0.1), transparent 60%);
    overflow:hidden;
    border-radius:16px;
  }
  .psych-photo img {
    width:100%; height:100%; object-fit:cover; display:block;
    filter:grayscale(18%) contrast(1.04) brightness(0.92);
    transition:filter 0.35s ease, transform 0.45s ease;
  }
  .psych-card:hover .psych-photo img {
    filter:grayscale(0%) contrast(1.06) brightness(0.98);
    transform:scale(1.015);
  }
  .psych-photo-dots {
    position:absolute; inset:0;
    background-image:radial-gradient(rgba(92,184,178,0.08) 1px, transparent 1px);
    background-size:5px 5px;
    opacity:0.4;
  }
  .psych-photo-note {
    position:absolute; bottom:10px; left:10px;
    font-size:9px; line-height:1.6;
    color:rgba(232,224,212,0.4);
    white-space:pre-line;
  }
  .psych-name {
    margin:16px 0 4px;
    font-family:'Lora',serif;
    font-size:18px;
    color:var(--ink);
  }
  .psych-meta {
    font-size:10px;
    letter-spacing:0.06em;
    color:var(--dim);
    margin-bottom:10px;
    text-transform:uppercase;
  }
  .psych-topics {
    font-size:13.5px;
    line-height:1.6;
    color:var(--muted);
  }
  .psych-slot {
    margin-top:10px;
    font-size:12px;
    color:var(--glow);
    padding:6px 12px;
    background:rgba(90,158,159,0.08);
    border-radius:8px;
    display:inline-block;
  }
  .psych-all {
    margin-top:32px;
  }
  .psych-all a {
    font-size:14px;
    color:var(--glow);
    text-decoration:none;
    padding-bottom:3px;
    border-bottom:1px solid rgba(90,158,159,0.3);
    transition:border-color 0.3s;
  }
  .psych-all a:hover { border-color:var(--glow); }

  /* FAQ */
  .faq-section { padding:80px 0; }
  .faq-grid {
    display:flex; flex-wrap:wrap;
    gap:40px 56px;
  }
  .faq-left { flex:0 1 280px; }
  .faq-right { flex:1 1 420px; min-width:300px; }
  .faq-item {
    margin-bottom:8px;
    border-radius:16px;
    background:rgba(255,255,255,0.015);
    border:1px solid transparent;
    transition:all 0.35s ease;
    overflow:hidden;
  }
  .faq-item:hover { border-color:var(--line); }
  .faq-item.active {
    background:rgba(90,158,159,0.04);
    border-color:rgba(90,158,159,0.15);
  }
  .faq-q {
    width:100%;
    display:flex; gap:16px;
    align-items:baseline;
    justify-content:space-between;
    min-height:60px;
    padding:16px 24px;
    background:transparent;
    border:0;
    cursor:pointer;
    text-align:left;
    color:var(--ink);
    font-family:'Lora',serif;
    font-size:17px;
    line-height:1.35;
  }
  .faq-sign {
    font-size:16px;
    color:var(--glow);
    flex-shrink:0;
    transition:transform 0.4s ease;
  }
  .faq-item.active .faq-sign { transform:rotate(45deg); }
  .faq-a {
    max-height:0; overflow:hidden;
    transition:all 0.45s cubic-bezier(0.4,0,0.2,1);
    padding:0 24px;
  }
  .faq-item.active .faq-a {
    max-height:400px;
    padding-bottom:24px;
  }
  .faq-a p {
    max-width:58ch;
    font-size:15px;
    line-height:1.8;
    color:var(--muted);
  }

  /* Crisis */
  .crisis-section {
    padding:56px 0;
    position:relative;
  }
  .crisis-section::before {
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(135deg, var(--glow) 0%, #4A8586 100%);
    border-radius:40px;
    margin:0 -5%;
    width:calc(100% + 10%);
    z-index:-1;
  }
  .crisis-grid {
    display:flex; flex-wrap:wrap;
    gap:32px 48px;
    justify-content:space-between;
  }
  .crisis-left { flex:1 1 300px; }
  .crisis-right { flex:1 1 380px; }
  .crisis-title {
    font-family:'Lora',serif;
    font-weight:500;
    font-size:clamp(26px, 4vw, 38px);
    line-height:1.12;
    margin-bottom:12px;
  }
  .crisis-text {
    max-width:32ch;
    font-size:15px;
    line-height:1.6;
    opacity:0.85;
  }
  .crisis-line {
    display:flex; flex-wrap:wrap;
    gap:4px 18px;
    align-items:baseline;
    justify-content:space-between;
    min-height:56px;
    padding:12px 24px;
    background:rgba(9,24,28,0.88);
    color:#E8E0D4;
    text-decoration:none;
    margin-bottom:10px;
    border-radius:16px;
    transition:all 0.3s ease;
  }
  .crisis-line:hover {
    background:rgba(9,24,28,1);
    transform:translateX(4px);
  }
  .crisis-label { font-size:13px; opacity:0.75; }
  .crisis-tel {
    font-family:'Lora',serif;
    font-size:22px;
  }

  /* Team & supervision */
  .team-section { padding:88px 0 96px; }
  .trust-intro { max-width:780px; }
  .trust-facts {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-top:34px;
  }
  .trust-fact {
    padding:22px 22px 24px;
    border:1px solid var(--line);
    border-radius:20px;
    background:rgba(255,255,255,0.018);
  }
  .trust-fact-val {
    font-family:'Lora',serif;
    font-size:27px;
    line-height:1.05;
    margin-bottom:9px;
    color:var(--ink);
  }
  .trust-fact-text {
    font-size:13.5px; line-height:1.6; color:var(--muted);
  }
  .people-block { margin-top:58px; }
  .people-head {
    display:flex; justify-content:space-between; align-items:flex-end;
    gap:18px; margin-bottom:24px;
  }
  .people-head p {
    max-width:52ch; font-size:14px; line-height:1.65; color:var(--muted);
  }
  .people-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
  }
  .person-card {
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:22px;
    background:rgba(255,255,255,0.02);
  }
  .person-photo {
    aspect-ratio:1/1;
    overflow:hidden;
    background:var(--photo);
  }
  .person-photo img {
    width:100%; height:100%; object-fit:cover; display:block;
    filter:saturate(.82) contrast(1.03);
  }
  .person-info { padding:17px 18px 19px; }
  .person-name {
    font-family:'Lora',serif; font-size:18px; line-height:1.2; margin-bottom:6px;
  }
  .person-role {
    font-size:12.5px; line-height:1.55; color:var(--muted);
  }
  .supervision-panel {
    margin-top:62px;
    padding:34px;
    border-radius:30px;
    background:var(--bg-lift);
    border:1px solid var(--line);
  }
  .supervision-kicker {
    font-size:10px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
    color:var(--glow); margin-bottom:9px;
  }
  .supervision-intro {
    display:flex; justify-content:space-between; align-items:flex-end;
    gap:28px; margin-bottom:26px;
  }
  .supervision-intro p {
    max-width:52ch; color:var(--muted); font-size:14px; line-height:1.65;
  }
  .supervisor-grid {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px;
  }
  .supervisor-card {
    display:grid; grid-template-columns:92px 1fr; gap:14px; align-items:center;
    padding:12px;
    border-radius:18px;
    background:rgba(255,255,255,0.025);
    border:1px solid rgba(77,124,125,.13);
  }
  .supervisor-photo {
    width:92px; aspect-ratio:1/1; overflow:hidden; border-radius:14px; background:var(--photo);
  }
  .supervisor-photo img { width:100%; height:100%; object-fit:cover; display:block; filter:saturate(.82); }
  .supervisor-name { font-family:'Lora',serif; font-size:17px; line-height:1.2; margin-bottom:5px; }
  .supervisor-role { font-size:11.5px; line-height:1.5; color:var(--muted); }
  @media(max-width:900px){
    .people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .supervisor-grid { grid-template-columns:1fr; }
    .supervisor-card { grid-template-columns:84px 1fr; }
    .supervisor-photo { width:84px; }
  }
  @media(max-width:680px){
    .team-section { padding:66px 0 74px; }
    .trust-facts { grid-template-columns:1fr; }
    .people-head, .supervision-intro { display:block; }
    .people-head p, .supervision-intro p { margin-top:10px; }
    .people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .person-info { padding:14px; }
    .person-name { font-size:16px; }
    .person-role { font-size:11.5px; }
    .supervision-panel { margin-top:44px; padding:22px 16px; border-radius:22px; }
  }

  /* Support */
  .support-section {
    padding:60px 0;
    position:relative;
  }
  .support-section::before {
    content:"";
    position:absolute; inset:0;
    background:var(--bg-lift);
    border-radius:40px 40px 0 0;
    margin:0 -5%;
    width:calc(100% + 10%);
    z-index:-1;
  }
  .support-grid {
    display:flex; flex-wrap:wrap;
    gap:36px 52px;
  }
  .support-left { flex:1 1 360px; }
  .support-right { flex:1 1 300px; min-width:260px; }
  .support-cta-row {
    display:flex; flex-wrap:wrap; gap:12px;
    margin-top:24px;
  }
  .volunteer-item {
    display:flex; gap:14px;
    padding:14px 0;
    position:relative;
  }
  .volunteer-item::after {
    content:"";
    position:absolute; bottom:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, var(--line), transparent 60%);
  }
  .volunteer-num {
    font-size:10px;
    font-weight:600;
    color:var(--rose);
    padding-top:3px;
  }
  .volunteer-link {
    display:inline-flex; align-items:center;
    min-height:48px; margin-top:16px;
    font-size:14.5px;
    color:var(--glow);
    text-decoration:none;
    padding-bottom:3px;
    border-bottom:1px solid rgba(90,158,159,0.3);
    transition:border-color 0.3s;
  }
  .volunteer-link:hover { border-color:var(--glow); }

  /* Footer */
  .footer {
    display:flex; flex-wrap:wrap;
    gap:10px 30px;
    justify-content:space-between;
    padding:32px 5% 36px;
    position:relative;
  }
  .footer::before {
    content:"";
    position:absolute; top:0; left:5%; right:5%;
    height:1px;
    background:linear-gradient(90deg, transparent, var(--line), transparent);
  }
  .footer {
    font-size:10px;
    letter-spacing:0.06em;
    line-height:1.8;
    color:var(--dim);
  }

  /* Mobile sticky */
  .mobile-sticky {
    display:none;
    position:fixed; bottom:16px; left:5%; right:5%;
    z-index:70;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 32px rgba(0,0,0,0.4);
  }
  .mobile-sticky-inner {
    display:flex; gap:1px;
  }
  .mobile-sticky a, .mobile-sticky button {
    flex:1 1 0;
    display:flex; align-items:center; justify-content:center;
    min-height:56px;
    padding:0 8px;
    font-size:14px; font-weight:600;
    text-align:center;
    text-decoration:none;
    border:none;
    cursor:pointer;
  }
  .ms-primary {
    background:var(--glow);
    color:var(--bg);
  }
  .ms-secondary {
    background:var(--bg-lift);
    color:var(--ink);
  }
  @media(max-width:768px){
    .mobile-sticky { display:block; }
    body { padding-bottom:88px; }
    .hero-visual { border-radius:0 0 24px 24px; min-height:520px; }
    .hero-title-wrap {
      left:7%; right:7%; width:auto;
      bottom:92px; top:auto;
    }
    .hero-bottom {
      width:auto;
      margin:-20px 5% 0;
      padding:26px 20px 30px;
      border-radius:24px;
      gap:24px;
    }
    .steps-section::before, .psych-section::before, .crisis-section::before, .support-section::before {
      border-radius:24px;
    }
    .hero-title-wrap .display { font-size:32px; line-height:1.08; }
    .display { font-size:32px; }
  }

  /* Dikidi Widget Modal */
  .dikidi-modal {
    display:none;
    position:fixed; inset:0;
    z-index:200;
    background:rgba(9,24,28,0.85);
    backdrop-filter:blur(12px);
    align-items:center;
    justify-content:center;
    padding:20px;
  }
  .dikidi-modal.active { display:flex; }
  .dikidi-box {
    width:100%; max-width:900px; height:80vh;
    background:var(--bg-lift);
    border:1px solid var(--line);
    border-radius:24px;
    position:relative;
    overflow:hidden;
    box-shadow:0 24px 60px rgba(0,0,0,0.4);
  }
  .dikidi-close {
    position:absolute; top:16px; right:16px;
    width:40px; height:40px;
    background:var(--bg);
    border:1px solid var(--line);
    color:var(--ink);
    font-size:20px;
    cursor:pointer;
    z-index:10;
    display:flex; align-items:center; justify-content:center;
    border-radius:12px;
    transition:all 0.3s;
  }
  .dikidi-close:hover { background:var(--glow); color:var(--bg); border-color:var(--glow); }
  .dikidi-box iframe {
    width:100%; height:100%;
    border:0;
    border-radius:24px;
  }

  @media(max-width:640px){
    .hero-visual { aspect-ratio:4/5; min-height:540px; }
    .hero-title-wrap { left:7%; right:7%; width:auto; bottom:96px; }
    .hero-bottom {
      margin:-18px 4% 0;
      padding:24px 18px 28px;
      border-radius:22px;
    }
    .hero-title-wrap .display { font-size:30px; line-height:1.08; }
    .display { font-size:30px; }
    .headline { font-size:26px; }
    .header-meta { display:none; }
    .step { padding:24px; }
    .psych-card { padding:12px; }
    .faq-q { padding:14px 18px; font-size:16px; }
    .crisis-line { padding:10px 18px; }
  }

  /* --- Night Timer --- */
  .timer-box {
    margin: 24px 0; padding: 20px 24px;
    background: rgba(77,124,125,0.06);
    border: 1px solid rgba(77,124,125,0.12);
    border-radius: 20px;
    position: relative;
    z-index: 2;
    max-width: 480px;
    backdrop-filter:blur(8px);
  }
  .timer-label {
    font-size: 10px;
    font-weight:600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 10px;
  }
  .timer-digits {
    font-variant-numeric: tabular-nums;
    font-size: 28px;
    font-weight: 500;
    color: var(--glow);
    line-height: 1;
  }
  .timer-digits.closed { color: var(--warm); }
  .timer-note {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
  }
  .timer-note a {
    color: var(--rose);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,123,115,0.3);
    transition:border-color 0.3s;
  }
  .timer-note a:hover { border-color:var(--rose); }

  .hero-meta-chip {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--dim);
    position: relative;
    z-index: 2;
    padding:6px 14px;
    background:rgba(255,255,255,0.03);
    border-radius:20px;
    border:1px solid var(--line);
  }
  .hero-meta-chip::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--glow);
    opacity: 0.5;
  }
  .hero-meta-chip.open::before { opacity: 1; box-shadow: 0 0 8px rgba(77,124,125,0.6); }

  /* Hand-drawn underline SVG for headlines */
  .hand-line {
    display:block;
    width:120px; height:8px;
    margin-top:8px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M2 6c20-4 40-5 60-3s40 2 58-2' stroke='%235A9E9F' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='0.4'/%3E%3C/svg%3E") no-repeat left center;
    background-size:contain;
  }


  /* Psychologist profile overlay */
  .profile-overlay{display:none;position:fixed;inset:0;z-index:210;background:rgba(7,20,24,.90);backdrop-filter:blur(14px);align-items:center;justify-content:center;padding:20px}
  .profile-overlay.active{display:flex}
  .profile-modal{width:min(960px,100%);max-height:calc(100dvh - 40px);background:var(--bg-lift);border:1px solid rgba(90,158,159,.18);border-radius:28px;overflow:hidden;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.5);animation:profileIn .38s cubic-bezier(.22,1,.36,1)}
  @keyframes profileIn{from{opacity:0;transform:translateY(24px) scale(.985)}to{opacity:1;transform:none}}
  .profile-close{position:absolute;top:16px;right:16px;z-index:10;width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.10);background:rgba(14,34,40,.86);color:var(--ink);font-size:22px;cursor:pointer;backdrop-filter:blur(10px)}
  .profile-close:hover{background:var(--glow);color:var(--bg)}
  .profile-content{display:grid;grid-template-columns:minmax(280px,35%) 1fr;min-height:560px;max-height:calc(100dvh - 40px)}
  .profile-photo{min-height:560px;position:relative;background:var(--photo);overflow:hidden}.profile-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,34,40,.32),transparent 46%);pointer-events:none}.profile-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
  .profile-info{min-width:0;padding:42px 46px 38px;overflow-y:auto;overscroll-behavior:contain}.profile-kicker{font-size:10px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--glow);margin-bottom:10px}.profile-name{font-family:'Lora',serif;font-size:clamp(29px,4vw,38px);line-height:1.08;font-weight:400;margin:0 52px 8px 0}.profile-role{font-size:14px;line-height:1.55;color:var(--muted);margin-bottom:18px}.profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:28px}.profile-tag{font-size:11.5px;padding:6px 11px;background:rgba(90,158,159,.08);color:var(--glow);border-radius:7px}.profile-section{padding-top:22px;margin-top:22px;border-top:1px solid var(--line)}.profile-section-title{font-size:10px;font-weight:600;letter-spacing:.12em;color:var(--glow);text-transform:uppercase;margin-bottom:10px}.profile-education{list-style:none;margin:0;padding:0;color:var(--muted);font-size:14px;line-height:1.55}.profile-education li{position:relative;padding:10px 0 10px 20px;border-bottom:1px solid rgba(77,124,125,.09)}.profile-education li:last-child{border-bottom:0}.profile-education li::before{content:"";position:absolute;left:1px;top:18px;width:6px;height:6px;border-radius:50%;background:var(--glow);opacity:.7}.profile-empty{font-size:14.5px;line-height:1.7;color:var(--muted)}.profile-note{margin-top:16px;font-size:11.5px;line-height:1.5;color:var(--dim)}.profile-actions{position:sticky;bottom:-1px;display:flex;margin:28px -6px -4px;padding:18px 6px 4px;background:linear-gradient(to top,var(--bg-lift) 68%,rgba(21,45,51,0))}.profile-cta{flex:1;min-height:54px;padding:0 28px;border:0;border-radius:15px;background:var(--glow);color:var(--bg);font:600 15px 'Onest',sans-serif;cursor:pointer}.profile-cta:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(90,158,159,.3)}
  @media(max-width:720px){.profile-overlay{padding:0;align-items:stretch}.profile-modal{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0}.profile-content{display:block;max-height:100dvh;min-height:0;overflow-y:auto}.profile-photo{height:38vh;min-height:270px;max-height:380px}.profile-photo img{position:relative}.profile-info{overflow:visible;padding:28px 20px 34px}.profile-name{font-size:30px;margin-right:36px}.profile-close{position:fixed;top:12px;right:12px}.profile-actions{position:sticky;bottom:0;margin:24px -20px -34px;padding:18px 20px calc(18px + env(safe-area-inset-bottom))}}


@media (max-width: 760px) {
  html, body { overflow-x:hidden; }
  .page { padding-left:20px; padding-right:20px; }
  .header { padding:18px 20px 16px; min-height:58px; }
  .header::after { left:20px; right:20px; }
  .header-logo { font-size:18px; }
  .header-meta { display:none !important; }

  /* Mobile hero is a separate composition, not a compressed desktop one */
  .hero { padding:0; }
  .hero-visual {
    width:100%;
    margin:0;
    aspect-ratio:auto;
    height:min(74svh, 660px);
    min-height:580px;
    max-height:660px;
    border-radius:0 0 24px 24px;
    background-size:cover;
    background-position:64% center;
  }
  .hero-gradient {
    background:
      linear-gradient(0deg, rgba(7,20,24,.88) 0%, rgba(7,20,24,.62) 32%, rgba(7,20,24,.18) 62%, rgba(7,20,24,.04) 100%),
      linear-gradient(90deg, rgba(7,20,24,.34) 0%, rgba(7,20,24,.10) 58%, rgba(7,20,24,0) 100%);
  }
  .hero-title-wrap {
    left:20px;
    right:20px;
    top:auto;
    bottom:26px;
    width:auto;
    max-width:none;
    padding:0;
  }
  .hero-title-wrap .display {
    font-size:clamp(31px, 8.8vw, 38px);
    line-height:1.04;
    letter-spacing:-.025em;
    max-width:12.5em;
    text-wrap:balance;
  }
  .timer-box {
    margin:14px 0 0;
    padding:13px 15px;
    max-width:none;
    border-radius:16px;
    background:rgba(7,20,24,.58);
    border-color:rgba(255,255,255,.10);
    backdrop-filter:blur(10px);
  }
  .timer-label { font-size:9px; margin-bottom:6px; }
  .timer-digits { font-size:22px; }
  .timer-note { margin-top:7px; font-size:12.5px; line-height:1.45; color:rgba(232,224,212,.82); }
  .hero-meta-chip {
    margin-top:9px;
    padding:5px 10px;
    font-size:9.5px;
    background:rgba(7,20,24,.48);
    border-color:rgba(255,255,255,.10);
    color:rgba(232,224,212,.75);
  }

  .hero-bottom {
    display:block;
    width:100%;
    margin:0;
    padding:28px 20px 34px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
  }
  .hero-bottom .body-text { max-width:none; font-size:15px; line-height:1.65; }
  .hero-cta-stack { width:100%; margin-top:20px; gap:10px; }
  .cta-primary, .cta-secondary { width:100%; min-height:56px; padding:0 18px; border-radius:14px; font-size:14px; }

  /* Mobile rhythm */
  .quotes-section { padding-top:18px; padding-bottom:72px; }
  .quotes-label { margin-bottom:26px; }
  .quote-line { font-size:clamp(23px, 7vw, 29px); padding:22px 0; }
  .quote-answer { padding-right:0; }
  .steps-grid { display:grid; grid-template-columns:1fr; gap:12px; margin-top:30px; }
  .step { min-width:0; padding:22px 20px; border-radius:20px; }
  .frames-row { gap:16px; margin-top:28px; }

  .screening-grid { display:block; }
  .screening-left, .screening-right { min-width:0; width:100%; }
  .screening-right { margin-top:30px; }
  .screening-item { padding:12px 4px; }
  .screening-cta { width:100%; justify-content:center; padding:0 18px; }

  .psych-header { align-items:flex-end; gap:12px; }
  .psych-sub { font-size:14px; }
  .psych-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .psych-card { min-width:0; max-width:none; width:100%; padding:10px; border-radius:18px; }
  .psych-photo { border-radius:13px; }
  .psych-name { font-size:16px; line-height:1.15; margin-top:10px; }
  .psych-meta { font-size:9.5px; line-height:1.35; margin-bottom:6px; }
  .psych-topics { font-size:11.5px; line-height:1.4; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .psych-slot { margin-top:6px; padding:5px 7px; font-size:10px; }

  .faq-grid { display:block; }
  .faq-left, .faq-right { min-width:0; width:100%; }
  .faq-left { margin-bottom:26px; }
  .faq-q { padding:14px 16px; font-size:16px; }
  .faq-a { padding-left:16px; padding-right:16px; }

  .crisis-grid { display:block; }
  .crisis-right { margin-top:24px; }
  .crisis-line { padding:12px 16px; }

  .team-section { padding:58px 0 64px; }
  .trust-facts { grid-template-columns:1fr; gap:10px; }
  .people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .person-info { padding:12px; }
  .person-name { font-size:15.5px; }
  .person-role { font-size:11px; line-height:1.35; }
  .supervision-panel { margin-top:36px; padding:20px 14px; border-radius:20px; }
  .supervisor-card { grid-template-columns:72px 1fr; gap:12px; }
  .supervisor-photo { width:72px; }
  .supervisor-name { font-size:15px; }
  .supervisor-role { font-size:11.5px; line-height:1.45; }

  .support-grid { display:block; }
  .support-right { min-width:0; margin-top:30px; }
  .support-cta-row { display:grid; grid-template-columns:1fr; }
  .support-cta-row .cta-primary, .support-cta-row .cta-secondary { width:100%; }

  .footer { padding:28px 20px 110px; display:block; }
  .footer > * + * { margin-top:8px; }
  .mobile-sticky { left:12px; right:12px; bottom:calc(10px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .hero-visual { min-height:600px; }
  .hero-title-wrap { left:16px; right:16px; bottom:22px; }
  .hero-title-wrap .display { font-size:30px; }
  .timer-note { font-size:12px; }
  .psych-grid { gap:9px; }
  .psych-card { padding:8px; }
  .psych-name { font-size:15px; }
}


@media (max-width:760px){
  html,body{min-height:100%;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
  .reveal,.reveal.visible{opacity:1!important;transform:none!important;transition:none!important}
  .hero-visual{height:520px!important;min-height:520px!important;max-height:520px!important;aspect-ratio:auto!important;background-position:65% center!important;border-radius:0 0 22px 22px!important}
  .hero-title-wrap{left:18px!important;right:18px!important;bottom:20px!important;top:auto!important;width:auto!important;padding:0!important}
  .hero-title-wrap .display{font-size:30px!important;line-height:1.04!important;max-width:none!important;color:#F4F7F6!important;text-wrap:balance}
  .timer-box{margin-top:12px!important;padding:11px 13px!important;border-radius:14px!important}
  .timer-label{font-size:8.5px!important;margin-bottom:5px!important}
  .timer-digits{font-size:19px!important}
  .timer-note{font-size:11.5px!important;line-height:1.38!important;margin-top:6px!important}
  .hero-meta-chip{font-size:9px!important;margin-top:7px!important;padding:4px 9px!important}
  .hero-bottom{display:block!important;width:auto!important;margin:0!important;padding:26px 20px 34px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
  .hero-bottom .body-text{font-size:15px!important;line-height:1.62!important;max-width:none!important}
  .hero-cta-stack{width:100%!important;margin-top:18px!important}
  .psych-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .psych-card{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;padding:12px!important}
  .psych-photo{aspect-ratio:4/5!important}
  .people-grid{grid-template-columns:1fr 1fr!important}
}
@media (max-width:380px){
  .hero-visual{height:500px!important;min-height:500px!important;max-height:500px!important}
  .hero-title-wrap .display{font-size:28px!important}
  .timer-note{display:none!important}
}


  .profile-link{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .static-profile-overlay{
    display:none;position:fixed;inset:0;z-index:9999;
    align-items:center;justify-content:center;
    padding:20px;background:rgba(7,20,24,.92);
    backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
    overflow-y:auto;overscroll-behavior:contain;
  }
  .static-profile-overlay:target{display:flex}
  .static-profile-backdrop{position:absolute;inset:0;z-index:0;display:block;touch-action:none}
  .static-profile-panel{
    position:relative;z-index:1;width:min(960px,100%);max-height:calc(100dvh - 40px);
    overflow:auto;-webkit-overflow-scrolling:touch;
    background:var(--bg-lift);border:1px solid rgba(90,158,159,.18);
    border-radius:28px;box-shadow:0 30px 90px rgba(0,0,0,.5);
  }
  .static-profile-close{
    position:sticky;top:14px;float:right;z-index:5;margin:14px 14px -56px 0;
    width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;
    border:1px solid rgba(255,255,255,.12);background:rgba(14,34,40,.92);
    color:var(--ink);font-size:25px;line-height:1;text-decoration:none;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  }
  .static-profile-content{display:grid;grid-template-columns:minmax(280px,38%) 1fr;min-height:560px}
  .static-profile-photo{min-height:560px;background:var(--photo);overflow:hidden}
  .static-profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
  .static-profile-info{padding:52px 48px 44px;overflow:auto}
  .static-profile-kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim);margin-bottom:12px}
  .static-profile-name{font-family:'Lora',Georgia,serif;font-size:clamp(32px,4vw,46px);font-weight:400;line-height:1.08;margin:0 54px 8px 0;color:var(--ink)}
  .static-profile-role{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 16px}
  .static-profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 26px}
  .static-profile-tag{font-size:11px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}
  .static-profile-section{padding-top:22px;border-top:1px solid var(--line)}
  .static-profile-section-title{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);margin:0 0 12px}
  .static-profile-education{margin:0;padding-left:19px;color:var(--muted);font-size:14px;line-height:1.65}
  .static-profile-education li+li{margin-top:8px}
  .static-profile-empty{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
  .static-profile-actions{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
  .static-profile-cta{display:flex;min-height:54px;align-items:center;justify-content:center;padding:0 22px;border-radius:15px;background:var(--glow);color:var(--bg);font-weight:600;font-size:15px;text-decoration:none;touch-action:manipulation}
  @media(max-width:720px){
    .static-profile-overlay{padding:0;align-items:stretch;background:var(--bg-lift)}
    .static-profile-panel{width:100%;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}
    .static-profile-content{display:block;min-height:0}
    .static-profile-photo{height:38vh;min-height:260px;max-height:360px}
    .static-profile-info{padding:28px 20px calc(34px + env(safe-area-inset-bottom));overflow:visible}
    .static-profile-name{font-size:30px;margin-right:46px}
    .static-profile-close{position:fixed;top:12px;right:12px;float:none;margin:0;background:rgba(14,34,40,.92)}
    .static-profile-actions{position:sticky;bottom:0;margin:24px -20px calc(-34px - env(safe-area-inset-bottom));padding:16px 20px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--bg-lift) 78%,rgba(14,34,40,.92))}
  }


.reveal,.reveal.visible{opacity:1!important;transform:none!important}
.quote-item>summary,.faq-item>summary{list-style:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.quote-item>summary::-webkit-details-marker,.faq-item>summary::-webkit-details-marker{display:none}
.quote-item .quote-answer{display:none!important;max-height:none!important;opacity:1!important;overflow:visible!important;padding:16px 0 12px 2px!important}
.quote-item[open] .quote-answer{display:block!important}.quote-item[open] .quote-sign,.faq-item[open] .faq-sign{transform:rotate(45deg)}
.quote-sign,.faq-sign{display:inline-block;transition:transform .2s ease}
.faq-item .faq-a{display:none!important;max-height:none!important;overflow:visible!important;padding:0 24px 24px!important}.faq-item[open] .faq-a{display:block!important}.faq-item[open]{background:rgba(90,158,159,.04);border-color:rgba(90,158,159,.15)}
.main-filter-radio{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
#psychPreviewFilters .topic-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#main-filter-all:checked~#psychPreviewFilters label[for="main-filter-all"],#main-filter-gestalt:checked~#psychPreviewFilters label[for="main-filter-gestalt"],#main-filter-cbt:checked~#psychPreviewFilters label[for="main-filter-cbt"],#main-filter-analytic:checked~#psychPreviewFilters label[for="main-filter-analytic"],#main-filter-family:checked~#psychPreviewFilters label[for="main-filter-family"],#main-filter-perinatal:checked~#psychPreviewFilters label[for="main-filter-perinatal"]{background:var(--glow);border-color:var(--glow);color:var(--bg);box-shadow:0 4px 16px rgba(90,158,159,.25)}
#psychPreviewGrid .main-filter-card{display:none!important}#main-filter-all:checked~#psychPreviewGrid .top-all,#main-filter-gestalt:checked~#psychPreviewGrid .top-gestalt,#main-filter-cbt:checked~#psychPreviewGrid .top-cbt,#main-filter-analytic:checked~#psychPreviewGrid .top-analytic,#main-filter-family:checked~#psychPreviewGrid .top-family,#main-filter-perinatal:checked~#psychPreviewGrid .top-perinatal{display:block!important}
a.cta-secondary,a.ms-secondary{text-decoration:none}.static-profile-overlay:target{display:flex!important}body:has(.static-profile-overlay:target){overflow:hidden}
@media(max-width:768px){.quote-line{padding:20px 0;font-size:clamp(22px,6.4vw,30px);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.quote-item .quote-answer{padding:12px 0 16px!important}.quote-answer p{font-size:14px!important;line-height:1.7!important}.faq-q{min-height:56px;padding:15px 16px!important;align-items:center}.faq-item .faq-a{padding:0 16px 20px!important}#psychPreviewFilters{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;margin-left:-5%;margin-right:-5%;padding:0 5% 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}#psychPreviewFilters::-webkit-scrollbar{display:none}#psychPreviewFilters .topic-btn{flex:0 0 auto;white-space:nowrap;padding:0 15px;font-size:12px}#psychPreviewGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#psychPreviewGrid .psych-card{min-width:0!important;max-width:none!important;padding:10px!important;border-radius:18px!important}#psychPreviewGrid .psych-name{font-size:15px!important;margin-top:11px!important}#psychPreviewGrid .psych-meta{font-size:9px!important;line-height:1.35!important;margin-bottom:6px!important}#psychPreviewGrid .psych-topics{font-size:11px!important;line-height:1.4!important}#psychPreviewGrid .psych-slot{font-size:10px!important;margin-top:8px!important;padding:5px 7px!important}.static-profile-panel{width:100%!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important}.static-profile-content{display:block!important;min-height:0!important}.static-profile-photo{height:36vh!important;min-height:240px!important;max-height:340px!important}.static-profile-info{padding:26px 18px calc(32px + env(safe-area-inset-bottom))!important}.static-profile-close{position:fixed!important;top:12px!important;right:12px!important}}
@media(max-width:390px){#psychPreviewGrid .psych-meta{display:none}}


  /* Final hero composition: desktop-first, with independent mobile rules */
  .hero-service-kicker{
    margin:0 0 18px;
    max-width:780px;
    font-size:12px;
    line-height:1.45;
    font-weight:500;
    letter-spacing:.075em;
    text-transform:uppercase;
    color:rgba(248,245,239,.76);
    text-shadow:0 6px 24px rgba(0,0,0,.32);
  }
  .hero-book-button{
    display:flex;
    width:max-content;
    max-width:100%;
    min-width:310px;
    min-height:62px;
    margin-top:26px;
    padding:11px 22px 11px 24px;
    align-items:flex-start;
    justify-content:center;
    flex-direction:column;
    gap:1px;
    border-radius:16px;
    background:var(--glow);
    color:var(--bg);
    text-decoration:none;
    box-shadow:0 12px 34px rgba(0,0,0,.26),0 7px 24px rgba(90,158,159,.18);
    transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
  }
  .hero-book-button span{font-size:15px;font-weight:600;line-height:1.35}
  .hero-book-button small{font-size:11px;font-weight:400;line-height:1.35;opacity:.76}
  .hero-book-button:hover{transform:translateY(-2px);background:var(--glow-dim);box-shadow:0 16px 38px rgba(0,0,0,.3)}

  @media(min-width:769px){
    .hero-visual{
      aspect-ratio:auto;
      height:min(68vh, 640px);
      min-height:600px;
      max-height:640px;
      background-position:center 34%;
    }
    .hero-title-wrap{
      left:10.5% !important;
      right:auto !important;
      top:clamp(92px,15.5vh,146px) !important;
      bottom:auto !important;
      width:min(820px,58vw) !important;
      transform:none !important;
      max-width:none !important;
      padding:0 !important;
    }
    .hero-title-wrap .display{
      max-width:780px;
      font-size:clamp(42px,4.8vw,68px) !important;
      line-height:1.035 !important;
    }
    .hero-title-wrap .timer-box{
      margin-top:18px;
      padding:14px 18px;
      max-width:430px;
      background:rgba(9,24,28,.42);
      border-color:rgba(255,255,255,.10);
    }
    .hero-title-wrap .timer-digits{font-size:23px}
    .hero-title-wrap .timer-note{font-size:12px;line-height:1.5;margin-top:8px}
    .hero-title-wrap .hero-meta-chip{margin-top:10px;background:rgba(9,24,28,.32)}
    .hero-gradient{
      background:
        linear-gradient(90deg,rgba(9,24,28,.72) 0%,rgba(9,24,28,.52) 37%,rgba(9,24,28,.19) 61%,rgba(9,24,28,.05) 100%),
        linear-gradient(0deg,rgba(9,24,28,.28) 0%,rgba(9,24,28,.05) 32%,rgba(9,24,28,0) 62%) !important;
    }
  }

  @media(max-width:768px){
    .hero-service-kicker{
      margin-bottom:12px;
      font-size:9.5px;
      line-height:1.4;
      letter-spacing:.055em;
      max-width:34ch;
    }
    .hero-book-button{
      min-width:0;
      width:100%;
      min-height:54px;
      margin-top:16px;
      padding:9px 16px;
      border-radius:14px;
    }
    .hero-book-button span{font-size:14px}
    .hero-book-button small{font-size:10px}
  }


@media (min-width:900px){
  #psychPreviewGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
  #psychPreviewGrid .psych-card{max-width:none!important;width:100%!important;min-width:0!important;}
}
.faq-memo-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin-top:22px;padding:0 18px;border:1px solid rgba(90,158,159,.34);border-radius:14px;color:var(--glow);text-decoration:none;font-size:14px;font-weight:600;transition:.25s ease;background:rgba(90,158,159,.06)}
.faq-memo-button:hover{background:rgba(90,158,159,.14);transform:translateY(-1px)}
.footer a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.16)}
.footer a:hover{color:var(--ink);border-bottom-color:currentColor}
.footer{align-items:flex-start}
.footer .footer-main,.footer .footer-requisites,.footer .footer-links{flex:1 1 260px}
@media(max-width:760px){.faq-memo-button{width:100%;margin-top:18px}.footer .footer-main,.footer .footer-requisites,.footer .footer-links{flex:1 1 100%}}


/* --- добавлено при разборе на блоки для Tilda --- */
.tvp { position:relative; z-index:1; }
/* глобальное правило для img намеренно не задаётся:
   у всех фотографий есть свои width/height/object-fit в контейнерах */

/* --- Исправление первого экрана -------------------------------------
   Было: .hero-title-wrap позиционировался абсолютно, а .hero-visual имел
   фиксированную высоту и overflow:hidden. При длинном заголовке нижняя
   часть блока (карточка расписания) обрезалась краем фотографии, а панель
   .hero-bottom с отрицательным отступом визуально наезжала сверху.
   Стало: заголовок в обычном потоке, фотография тянется под содержимое. */
.hero-visual{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  aspect-ratio:auto !important;
  height:auto !important;
  overflow:visible !important;
}
.hero-gradient{ position:absolute !important; inset:0 !important; border-radius:inherit; }
.hero-title-wrap{
  position:relative !important;
  left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
  /* 81.818% = 90/110: фотография шире контейнера на 10%, поэтому колонка
     заголовка считается от её ширины, чтобы левый и правый край совпали
     с панелью .hero-bottom и остальными секциями страницы */
  width:min(1140px, 81.818%) !important;
  max-width:none !important;
  margin:0 auto clamp(86px, 13vh, 140px) !important;
}
@media(max-width:768px){
  .hero-title-wrap{
    width:81.818% !important;
    margin:0 auto clamp(70px, 10vh, 96px) !important;
  }
}
