/*
Theme Name: ЮР-СТАТУС — Независимая тема
Theme URI: https://yurstatus.pro
Author: Custom Site Migration
Description: Легкая автономная WordPress-тема юридической компании «ЮР-СТАТУС», без внешних UI-зависимостей.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: yurstatus
License: GPL-2.0-or-later
*/
:root { --purple:#443399;--purple-deep:#332779;--gold:#ffaa00;--ink:#241e38;--grey:#5c5970;--surface:#f9f8fd;--max:1160px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:92px; }
body { margin:0; color:var(--ink); background:#fff; font-family:'Segoe UI',Arial,Helvetica,sans-serif; font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
a:focus-visible,summary:focus-visible { outline:3px solid var(--gold);outline-offset:4px; }
img { max-width:100%;height:auto; }
.container { width:min(var(--max),calc(100% - 48px));margin-inline:auto; }
.sr-only { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.skip-link:not(:focus) { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.skip-link:focus { position:absolute;top:12px;left:12px;z-index:999;background:#fff;color:#1d1750;padding:8px 12px; }
.site-header { position:relative;z-index:20;background:var(--purple);color:#fff;box-shadow:0 2px 12px rgba(25,10,63,.10); }
.header-inner { min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px; }
.logo-link { display:flex;align-items:center;flex-shrink:0; }
.logo-link img { width:225px;max-height:61px;object-fit:contain;object-position:left center;display:block; }
.nav-list { display:flex;align-items:center;gap:32px;margin:0;padding:0;list-style:none; }
.nav-list a { color:#fff;text-decoration:none;font-size:16px;font-weight:600;letter-spacing:.01em; }
.nav-list a:hover, .nav-list a:focus-visible { color:#ffd16e;text-decoration:underline;text-underline-offset:7px; }
.header-phone { white-space:nowrap;text-decoration:none;font-weight:700;color:#fff;font-size:15px; }
.header-phone:hover { color:var(--gold); }
.mobile-nav { display:none; }
.hero { position:relative;overflow:hidden;background:var(--purple);color:#fff; }
.hero:after { content:'';position:absolute;right:-9%;top:0;bottom:0;width:58%;opacity:.13;background:url('assets/img/hero-emblem.png') center right/contain no-repeat;pointer-events:none; }
.hero-inner { position:relative;z-index:1;min-height:460px;padding-block:82px 70px;display:flex;flex-direction:column;justify-content:center;max-width:100%; }
.hero-label { margin:0 0 15px;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:var(--gold); }
.hero h1 { margin:0;max-width:800px;color:#fff;font-size:clamp(40px,5vw,69px);font-weight:800;line-height:1.12;letter-spacing:-.025em; }
.hero h1 .accent { color:var(--gold); }
.hero .hero-description { max-width:760px;font-size:clamp(18px,1.65vw,23px);line-height:1.5;margin:28px 0 0;color:#f3f0ff; }
.awards { position:relative;background:var(--purple);padding:0 0 70px;color:#fff; }
.awards-inner { border-top:1px solid rgba(255,255,255,.25);padding-top:31px; }
.awards-title { margin:0 0 18px;color:#d9d2ff;font-size:13px;text-transform:uppercase;letter-spacing:.12em; }
.award-list { display:flex;align-items:center;gap:26px;flex-wrap:wrap; }
.award { display:flex;align-items:center;justify-content:center;height:100px;min-width:130px;max-width:210px;padding:15px 18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.25);border-radius:12px;text-decoration:none;transition:background .2s ease,transform .2s ease; }
.award:hover { transform:translateY(-3px);background:rgba(255,255,255,.17); }
.award img { max-height:70px;max-width:150px;object-fit:contain; }
.intro { padding:94px 0 101px;background:#fff; }
.intro-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:75px;align-items:center; }
.eyebrow { display:inline-flex;align-items:center;gap:14px;color:var(--purple);font-size:13px;letter-spacing:.12em;font-weight:800;text-transform:uppercase; }
.eyebrow:before { content:'';height:2px;width:36px;background:var(--gold); }
h2 { margin:13px 0 20px;line-height:1.15;letter-spacing:-.025em;font-size:clamp(29px,3.1vw,45px); }
.intro h2 .accent { color:var(--gold); }
.intro p { margin:0;color:#443b69;font-size:20px;line-height:1.7; }
.about { position:relative;overflow:hidden;background:#f9f8ff; }
.about:after { content:'';pointer-events:none;position:absolute;inset:0;z-index:0;background:url('assets/img/purple-pattern.jpg') center center/cover no-repeat;opacity:.065; }
.about-inner { position:relative;z-index:1;padding:96px 0 102px; }
.about h2 { margin-bottom:27px; }
.about-content { max-width:990px;background:rgba(255,255,255,.91);border-left:5px solid var(--gold);padding:35px 40px;box-shadow:0 12px 45px rgba(62,42,106,.08);border-radius:0 15px 15px 0; }
.about-content p { margin:0 0 20px;font-size:18px;line-height:1.75;color:var(--purple-deep);font-weight:500; }
.about-content p:last-child { margin:0; }
.about-content strong { color:var(--purple); }
.about-content .highlight { color:#a46b00;font-weight:800; }
.services { padding:95px 0 104px;background:#fff; }
.services-heading { text-align:center;max-width:700px;margin:0 auto 48px; }
.services-heading .eyebrow:before { display:none; }
.services-heading h2 { color:var(--purple); }
.services-list { list-style:none;display:grid;grid-template-columns:1fr;gap:25px;margin:0;padding:0; }
.service { display:grid;grid-template-columns:120px 1fr;gap:29px;align-items:start;border:1px solid #e9e5f4;border-radius:18px;padding:33px 36px;box-shadow:0 10px 38px rgba(51,36,103,.05); }
.service-icon { width:104px;height:104px;display:flex;align-items:center;justify-content:center;background:#f0edfb;border-radius:18px;padding:14px; }
.service-icon img { width:100%;height:100%;object-fit:contain; }
.service h3 { color:var(--purple);font-size:23px;line-height:1.35;margin:0 0 17px; }
.service ul { margin:0;padding:0 0 0 21px;color:#454154;font-size:16px;line-height:1.65; }
.service li { margin:0 0 9px; }
.service li:last-child { margin:0; }
.service li::marker { color:var(--gold); }
.site-footer { background:var(--purple);color:#fff;padding:53px 0 45px; }
.footer-inner { display:flex;align-items:flex-start;justify-content:space-between;gap:36px;flex-wrap:wrap; }
.site-footer h2 { color:#fff;font-size:27px;margin:0 0 5px; }
.site-footer p { margin:0;color:#e1dafa;font-size:14px; }
.footer-contacts { display:flex;align-items:flex-start;gap:32px;flex-wrap:wrap; }
.contact-item { display:flex;flex-direction:column;gap:2px; }
.contact-item .contact-label { color:#d6cbff;font-size:12px;text-transform:uppercase;letter-spacing:.1em; }
.contact-item .contact-value { font-size:17px;font-weight:700;color:#fff;text-decoration:none; }
.contact-item a.contact-value:hover { color:var(--gold);text-decoration:underline; }
.footer-bottom { display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.2);margin-top:44px;padding-top:18px;font-size:12px;color:#d2c9f4; }
.generic { min-height:50vh;padding:80px 0; }
.generic h1 { color:var(--purple);font-size:42px;line-height:1.2; }
.generic a { color:var(--purple);font-weight:700; }
@media(max-width:1000px){
  .header-inner { gap:18px; }
  .logo-link img { width:184px; }
  .nav-list { gap:16px; }
  .header-phone { font-size:14px; }
  .intro-grid { gap:35px; }
}
@media(max-width:760px){
  html { scroll-padding-top:68px; }
  .container { width:min(var(--max),calc(100% - 34px)); }
  .header-inner { min-height:70px; }
  .logo-link img { width:178px;max-height:51px; }
  .site-nav,.header-phone { display:none; }
  .mobile-nav { display:block;position:relative;margin-left:auto; }
  .mobile-nav summary { list-style:none;border:1px solid rgba(255,255,255,.45);padding:10px 14px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600; }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-menu-content { position:absolute;z-index:30;right:0;top:calc(100% + 10px);min-width:230px;padding:10px;background:#fff;border-radius:11px;box-shadow:0 15px 35px rgba(28,12,63,.25); }
  .mobile-menu-content a { display:block;padding:12px;color:var(--purple);text-decoration:none;font-weight:700; }
  .mobile-menu-content a:hover { background:#f3f1fc; }
  .hero-inner { min-height:405px;padding-block:68px 64px; }
  .hero:after { width:92%;right:-30%;opacity:.09; }
  .hero h1 { font-size:clamp(36px,7vw,52px); }
  .hero .hero-description { font-size:18px; }
  .awards { padding-bottom:45px; }
  .award-list { gap:11px; }
  .award { min-width:92px;max-width:120px;height:75px;padding:10px; }
  .award img { max-height:55px;max-width:96px; }
  .intro { padding:68px 0; }
  .intro-grid { grid-template-columns:1fr;gap:12px; }
  .intro p { font-size:18px; }
  .about-inner { padding:65px 0 73px; }
  .about-content { padding:22px 23px; }
  .about-content p { font-size:16px; }
  .services { padding:65px 0 73px; }
  .services-heading { margin-bottom:31px; }
  .service { grid-template-columns:1fr;padding:25px 22px;gap:15px; }
  .service-icon { width:78px;height:78px; }
  .service h3 { font-size:20px; }
  .footer-inner { flex-direction:column; }
  .footer-contacts { flex-direction:column;gap:20px; }
}
@media(prefers-reduced-motion:reduce){ html { scroll-behavior:auto; } .award { transition:none; } }

/* v1.1 — Original "и даже больше" typewriter phrase, rebuilt without Tilda. */
.hero-typed-line { display:block; color:var(--gold); min-height:1.14em; white-space:nowrap; font-size:clamp(30px,4.55vw,65px); line-height:1.13; letter-spacing:-.025em; margin-top:4px; }
.hero-typed-text { display:inline; }
.hero-caret { display:inline-block; vertical-align:-.08em; width:3px; height:.92em; margin-left:5px; background:currentColor; animation:yurstatus-caret-blink .85s step-end infinite; }
.hero-caret--finished { animation-iteration-count:4; }
@keyframes yurstatus-caret-blink { 0%,49% {opacity:1;} 50%,100% {opacity:0;} }
/* 404 page — completely local. */
.not-found { min-height:62vh; padding:98px 0 112px; background:linear-gradient(152deg,#f9f7ff 0%,#fff 66%); }
.not-found .not-found-number { margin:0 0 10px; color:var(--gold); font-size:clamp(86px,15vw,156px); font-weight:850; line-height:1; letter-spacing:-.065em; }
.not-found h1 { color:var(--purple); font-size:clamp(34px,4vw,53px); max-width:750px; margin:0 0 17px; }
.not-found p { color:#56506b; font-size:19px; max-width:660px; margin:0 0 28px; }
.not-found a.not-found-link { display:inline-flex; align-items:center; justify-content:center; padding:13px 22px; border-radius:9px; color:#fff; background:var(--purple); text-decoration:none; font-weight:700; }
.not-found a.not-found-link:hover,.not-found a.not-found-link:focus-visible { background:var(--purple-deep); }
@media(max-width:760px) { .hero-typed-line { font-size:clamp(30px,6.9vw,48px); } .not-found { padding:62px 0 75px; } }
@media(max-width:370px) { .hero-typed-line { font-size:29px; } }
@media(prefers-reduced-motion:reduce) { .hero-caret { animation:none; opacity:1; } }
