/* RVC_AUDIT_COMPLETE_V1 */
.rvc-phone-first .inline-consent,
.rvc-home-balanced .rvc-hero-quick>.inline-consent,
.calc-box .rvc-phone-first .inline-consent{font-size:12px;line-height:1.65;justify-content:center;align-items:center;text-align:center}
.rvc-phone-first .rvc-submit-policy,
.rvc-hero-right>.rvc-hero-quick>.rvc-submit-policy,
.rvc-home-balanced .rvc-hero-quick>.rvc-submit-policy{font-size:12px;line-height:1.65;text-align:center;width:100%;max-width:100%;white-space:normal}
.rvc-phone-first .inline-consent input{width:20px;height:20px;min-width:20px;margin:0}
.header-phone small,.proof-strip span{color:#465e65}
.sub-hero.container{min-height:0;padding-top:46px;padding-bottom:26px;display:block}
.sub-hero.container h1{margin-bottom:0;font-size:clamp(32px,4vw,54px);line-height:1.14}
.wordpress-content{padding-top:0}
.wordpress-content article{margin-top:0}
.wordpress-content article>:first-child{margin-top:0}
.wordpress-content table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.6}
.wordpress-content caption{text-align:left;font-weight:700;margin-bottom:14px}
.wordpress-content th,.wordpress-content td{text-align:left;vertical-align:top;padding:14px;border-bottom:1px solid #dce5df}
.wordpress-content thead{background:#f3f7ef}
.rvc-extra-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 24px;padding-top:18px;padding-bottom:24px;border-top:1px solid #dce5df;font-size:13px}
.rvc-extra-links a,footer>.footer-bottom a,footer>.container>a{display:inline-flex;align-items:center;min-height:36px;padding:5px 2px}
.rvc-extra-links a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.sub-hero.container{padding-top:32px;padding-bottom:22px}.wordpress-content th,.wordpress-content td{padding:10px 7px;font-size:13px;overflow-wrap:anywhere}.rvc-extra-links{gap:6px 18px;justify-content:flex-start}.rvc-extra-links a,footer>.footer-bottom a,footer>.container>a{min-height:44px}.rvc-home-balanced .rvc-hero-quick>.btn[type=submit]{min-height:52px}}

/* Visible business address, matching the organization's Yandex Maps card. */
footer .rvc-location{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;padding-top:20px;padding-bottom:20px;font-size:14px;line-height:1.7;font-style:normal;color:#425c65;border-top:1px solid var(--line)}
footer .rvc-location>span{flex:1 1 350px;min-width:0}
footer .rvc-location strong{color:var(--ink);font-weight:700}
footer .rvc-location>a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;color:var(--teal)}


/* Prices and official Yandex reviews: scoped to these two customer sections. */
.rvc-prices,.rvc-reviews{padding:clamp(56px,7vw,96px) 0;scroll-margin-top:0}
.rvc-prices{background:#f1f5ec}
.rvc-reviews{background:#fff}
.rvc-prices-grid,.rvc-reviews-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:start}
.rvc-prices h2,.rvc-reviews h2{margin:14px 0 20px;font-size:clamp(28px,3.5vw,44px);line-height:1.15;letter-spacing:-.035em}
.rvc-prices p,.rvc-reviews p{font-size:16px;line-height:1.65;color:#52696b}
.rvc-prices .btn{margin-top:18px}
.rvc-price-card{min-width:0;padding:clamp(20px,3vw,32px);border:1px solid #dce4d6;border-radius:24px;background:#fff}
.rvc-price-table{width:100%;border-collapse:collapse;text-align:left;font-size:16px}
.rvc-price-table caption{text-align:left;font-weight:700;line-height:1.5;margin-bottom:18px}
.rvc-price-table th,.rvc-price-table td{padding:14px 0;border-bottom:1px solid #e3e9df}
.rvc-price-table thead th{font-size:12px;color:#52696b;font-weight:500}
.rvc-price-table td,.rvc-price-table thead th:last-child{text-align:right;white-space:nowrap;padding-left:12px}
.rvc-price-table td{font-weight:700;font-size:21px}
.rvc-price-card h3,.rvc-company-proof h3{margin:26px 0 12px;font-size:18px;line-height:1.4}
.rvc-price-card ul{padding-left:20px;line-height:1.7;color:#52696b}
.rvc-price-card .rvc-price-note{font-size:14px;line-height:1.65;margin:20px 0}
.rvc-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:24px 0 30px}
.rvc-company-proof{padding-top:4px;border-top:1px solid #e1e7e4}
.rvc-company-proof p{font-size:14px}
.rvc-company-proof a{overflow-wrap:anywhere}
.rvc-reviews-panel{min-width:0;width:100%;max-width:760px;justify-self:end}
.rvc-yandex-reviews{width:100%;height:640px;overflow:hidden;position:relative;background:#fafafa;border-radius:8px}
.rvc-yandex-reviews iframe{display:block;width:100%;height:100%;border:1px solid #e6e6e6;border-radius:8px;box-sizing:border-box;background:#fff}
.rvc-yandex-attribution{box-sizing:border-box;text-decoration:none;color:#737373;font-size:10px;font-family:Arial,sans-serif;padding:0 16px;position:absolute;bottom:8px;width:100%;text-align:center;left:0;overflow:hidden;text-overflow:ellipsis;display:block;max-height:14px;white-space:nowrap}
.rvc-reviews .rvc-review-fallback{font-size:13px;margin:12px 0 0}
.rvc-review-fallback a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.rvc-prices-grid,.rvc-reviews-grid{grid-template-columns:minmax(0,1fr)}.rvc-reviews-panel{justify-self:stretch}.rvc-review-actions{align-items:flex-start;flex-direction:column}.rvc-yandex-reviews{height:600px}}
@media(max-width:350px){.rvc-reviews>.container{width:calc(100% - 4px)}.rvc-reviews-copy,.rvc-review-fallback{padding-inline:12px}}

/* Keep the live reviews before company details on narrow screens. */
.rvc-reviews-grid{grid-template-areas:"copy panel" "proof panel";row-gap:24px}
.rvc-reviews-copy{grid-area:copy}
.rvc-reviews-panel{grid-area:panel}
.rvc-company-proof{grid-area:proof}
@media(max-width:800px){.rvc-reviews-grid{grid-template-areas:"copy" "panel" "proof";row-gap:28px}.rvc-review-actions{margin-bottom:0}}

/* Specialists: manually scrollable strip; portrait crops retain the source image. */
.rvc-specialists{padding:clamp(56px,7vw,88px) 0;background:#f1f5ec;scroll-margin-top:110px}
.rvc-specialists>.container{min-width:0}
.rvc-specialists h2{margin:14px 0 28px;font-size:clamp(28px,3.5vw,44px);line-height:1.15;letter-spacing:-.035em}
.rvc-specialists-track{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:max(208px,calc((100% - 80px)/5));gap:20px;width:100%;max-width:100%;margin:0;padding:0 0 16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#477776 #dce4d6;-webkit-overflow-scrolling:touch}
.rvc-specialists-track:focus-visible{outline:2px solid #477776;outline-offset:6px;border-radius:4px}
.rvc-specialist-card{min-width:0;scroll-snap-align:start;border:1px solid #dce4d6;border-radius:20px;background:#fff;overflow:hidden}
.rvc-specialist-card figure{margin:0}
.rvc-specialist-portrait{aspect-ratio:1/1;overflow:hidden;background:#e1e8df}
.rvc-specialist-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.rvc-specialist-card figcaption{padding:18px 14px 20px}
.rvc-specialist-card h3{margin:0 0 8px;font-size:18px;line-height:1.35;letter-spacing:-.02em}
.rvc-specialist-card p{margin:0;color:#52696b;font-size:13px;line-height:1.5}
.rvc-specialists-hint{display:none;margin:-12px 0 20px;color:#52696b;font-size:13px;line-height:1.5}
@media(max-width:1150px){.rvc-specialists-hint{display:block}}
@media(max-width:600px){.rvc-specialists-track{grid-auto-columns:min(280px,84vw);gap:16px}.rvc-specialist-card figcaption{padding:20px}.rvc-specialist-card h3{font-size:21px}.rvc-specialist-card p{font-size:14px}}

/* Keep the home offer clear of fixed controls on narrow phones. */
@media (max-width: 480px) {
  .hero:has(.rvc-home-offer) .hero-copy > .pill { display: none; }
  .hero:has(.rvc-home-offer) h1 {
    font-size: clamp(30px, 8.5vw, 38px);
    margin-block: 0 12px;
  }
  .hero:has(.rvc-home-offer) .hero-copy > p { line-height: 1.5; }
  body .hero .hero-copy > .rvc-home-offer { margin-top: 14px; }

  body:has(.rvc-home-offer):has(#rvcfaq-root) .mobile-contact {
    padding-right: calc(112px + env(safe-area-inset-right));
  }
  body:has(.rvc-home-offer) #rvcfaq-root {
    right: calc(15px + env(safe-area-inset-right));
    bottom: calc(11px + env(safe-area-inset-bottom));
  }
  body:has(.rvc-home-offer) #rvcfaq-root .rvcfaq-launcher {
    width: 87px;
    font-size: 12px;
    line-height: 1.15;
    padding-inline: 8px;
  }
}
