/*
Theme Name: Otzovuk Theme
Theme URI: https://otzovuk.ru/
Author: Otzovuk
Description: Лёгкая адаптивная тема для платформы отзывов «Отзовук».
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: otzovuk-theme
*/

:root{--ov-blue:#2563eb;--ov-blue-dark:#1746b5;--ov-ink:#172033;--ov-muted:#637086;--ov-line:#e4e9f1;--ov-soft:#f5f8fc;--ov-green:#16875d;--ov-star:#f4a623;--ov-radius:18px;--ov-shadow:0 12px 34px rgba(27,45,79,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ov-ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--ov-blue);text-decoration:none}a:hover{color:var(--ov-blue-dark)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,.button,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 19px;border:0;border-radius:12px;background:var(--ov-blue);color:#fff;font-weight:700;cursor:pointer;transition:.18s ease}button:hover,.button:hover,.wp-element-button:hover{background:var(--ov-blue-dark);color:#fff;transform:translateY(-1px)}.button--light{background:#edf3ff;color:var(--ov-blue)}.button--light:hover{background:#dce8ff;color:var(--ov-blue-dark)}.button--outline{background:#fff;border:1px solid var(--ov-line);color:var(--ov-ink)}.button--outline:hover{background:var(--ov-soft);color:var(--ov-blue)}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--ov-line)}.header-inner{max-width:1200px;margin:auto;padding:0 24px;min-height:76px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;color:var(--ov-ink);font-size:22px;font-weight:850;letter-spacing:-.7px;white-space:nowrap}.brand:hover{color:var(--ov-ink)}.brand-mark{width:38px;height:38px;display:block}.brand-tagline{display:block;color:var(--ov-muted);font-size:10px;line-height:1.1;letter-spacing:0;font-weight:600}.primary-nav{margin-left:auto}.primary-nav ul{display:flex;align-items:center;gap:27px;margin:0;padding:0;list-style:none}.primary-nav a{color:#39465c;font-size:14px;font-weight:650}.primary-nav a:hover{color:var(--ov-blue)}.header-actions{display:flex;align-items:center;gap:10px}.header-actions .button{min-height:40px;padding:8px 14px;font-size:13px}.menu-toggle{display:none;background:#eef3fb;color:var(--ov-ink);padding:8px 12px;min-height:40px}
.container{width:min(1120px,calc(100% - 48px));margin-inline:auto}.site-main{min-height:60vh}.section{padding:62px 0}.section--soft{background:var(--ov-soft)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head h2{margin:0;font-size:28px;line-height:1.2;letter-spacing:-.7px}.section-head p{margin:8px 0 0;color:var(--ov-muted)}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--ov-blue);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hero{padding:72px 0 64px;background:radial-gradient(ellipse at 75% 4%,rgba(102,153,255,.19),transparent 35%),linear-gradient(180deg,#f6f9ff 0%,#fff 100%)}.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:55px}.hero h1{max-width:680px;margin:14px 0 16px;font-size:clamp(38px,5.2vw,62px);line-height:1.05;letter-spacing:-2.7px}.hero-copy{max-width:570px;color:var(--ov-muted);font-size:18px}.search-form{display:flex;gap:9px;max-width:680px;margin:26px 0 16px;padding:7px;background:#fff;border:1px solid var(--ov-line);border-radius:16px;box-shadow:var(--ov-shadow)}.search-form input{flex:1;min-width:0;border:0;outline:0;padding:10px 12px;color:var(--ov-ink)}.search-form button{white-space:nowrap}.hero-links{display:flex;flex-wrap:wrap;gap:10px}.hero-card{position:relative;padding:26px;background:#fff;border:1px solid var(--ov-line);border-radius:26px;box-shadow:var(--ov-shadow)}.hero-card-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:19px;border-bottom:1px solid var(--ov-line)}.hero-card-title{font-size:15px;font-weight:800}.hero-card-note{color:var(--ov-muted);font-size:12px}.hero-rating{display:flex;align-items:center;gap:14px;margin:21px 0}.hero-rating-number{font-size:42px;font-weight:850;line-height:1;letter-spacing:-2px}.stars{color:var(--ov-star);letter-spacing:2px;white-space:nowrap}.rating-caption{font-size:12px;color:var(--ov-muted)}.rating-bars{display:grid;gap:8px}.rating-bar{display:grid;grid-template-columns:36px 1fr 30px;align-items:center;gap:8px;color:#657188;font-size:12px}.rating-track{height:8px;border-radius:8px;background:#edf1f7;overflow:hidden}.rating-fill{height:100%;background:var(--ov-blue);border-radius:inherit}.hero-quote{margin-top:20px;padding:15px;background:#f5f8ff;border-radius:14px;color:#4e5e78;font-size:13px}.hero-quote strong{display:block;margin-bottom:4px;color:var(--ov-ink)}
.stats-row{display:flex;gap:28px;margin-top:27px;color:var(--ov-muted);font-size:13px}.stats-row strong{color:var(--ov-ink);font-size:17px}.grid{display:grid;gap:17px}.grid--categories{grid-template-columns:repeat(4,1fr)}.grid--companies{grid-template-columns:repeat(3,1fr)}.grid--reviews{grid-template-columns:repeat(2,1fr)}.category-card,.company-card,.review-card,.article-card,.content-card{background:#fff;border:1px solid var(--ov-line);border-radius:var(--ov-radius);box-shadow:0 3px 14px rgba(27,45,79,.025)}.category-card{min-height:130px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;color:var(--ov-ink);transition:.18s}.category-card:hover,.company-card:hover,.article-card:hover{box-shadow:var(--ov-shadow);transform:translateY(-2px);color:var(--ov-ink)}.category-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#edf3ff;color:var(--ov-blue);font-size:21px}.category-card strong{font-size:15px}.category-card small{color:var(--ov-muted)}
.company-card{padding:20px;transition:.18s}.company-card-head{display:flex;align-items:center;gap:13px}.company-logo{width:54px;height:54px;display:grid;place-items:center;flex:none;overflow:hidden;border-radius:15px;background:#edf3ff;color:var(--ov-blue);font-size:20px;font-weight:800}.company-logo img{width:100%;height:100%;object-fit:cover}.company-card h3{margin:0 0 2px;font-size:17px;line-height:1.3}.company-card-meta{color:var(--ov-muted);font-size:12px}.company-card-rating{display:flex;align-items:center;gap:9px;margin:17px 0 11px}.company-card-rating strong{font-size:18px}.company-card p{margin:0;color:var(--ov-muted);font-size:13px;line-height:1.55}.company-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-top:14px;border-top:1px solid var(--ov-line);color:var(--ov-muted);font-size:12px}.company-card-review{width:100%;margin-top:14px}.review-card{padding:20px}.review-card-top{display:flex;justify-content:space-between;gap:12px}.review-card h3{margin:8px 0 7px;font-size:17px}.review-card p{margin:0;color:#58657a;font-size:14px}.review-author{color:var(--ov-muted);font-size:12px}.article-card{overflow:hidden;transition:.18s}.article-card-body{padding:19px}.article-card h3{margin:0 0 9px;font-size:17px;line-height:1.35}.article-card p{margin:0;color:var(--ov-muted);font-size:13px}.article-card time{display:block;margin-bottom:8px;color:var(--ov-muted);font-size:11px}
.page-hero{padding:43px 0 30px;background:linear-gradient(180deg,#f6f9ff,#fff)}.breadcrumbs{margin-bottom:13px;color:var(--ov-muted);font-size:12px}.breadcrumbs a{color:var(--ov-muted)}.page-hero h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.13;letter-spacing:-1.4px}.page-hero p{max-width:700px;margin:12px 0 0;color:var(--ov-muted)}.catalog-layout{display:grid;grid-template-columns:245px 1fr;gap:30px;align-items:start}.filters{padding:19px;background:#fff;border:1px solid var(--ov-line);border-radius:16px}.filters h2{margin:0 0 15px;font-size:16px}.field{display:grid;gap:6px;margin:0 0 13px}.field label{font-size:12px;font-weight:700}.field input,.field select,.field textarea,.ov-form input,.ov-form select,.ov-form textarea,.filters select{width:100%;padding:11px 12px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;color:var(--ov-ink)}.field textarea,.ov-form textarea{min-height:130px;resize:vertical}.filters .button{width:100%;margin-top:4px}.results-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px;color:var(--ov-muted);font-size:13px}.results-top select{padding:8px 10px;border:1px solid var(--ov-line);border-radius:9px;background:#fff}.company-detail{display:grid;grid-template-columns:1fr 280px;gap:25px;align-items:start}.company-profile{padding:26px;background:#fff;border:1px solid var(--ov-line);border-radius:22px}.company-profile-head{display:flex;align-items:center;gap:18px}.company-profile .company-logo{width:80px;height:80px;border-radius:20px;font-size:28px}.company-profile h1{margin:0;font-size:32px;line-height:1.15;letter-spacing:-.8px}.company-profile-sub{margin-top:7px;color:var(--ov-muted);font-size:13px}.company-profile-rating{display:flex;align-items:center;gap:12px;margin:20px 0 0;padding-top:18px;border-top:1px solid var(--ov-line)}.company-profile-rating strong{font-size:23px}.company-contact{padding:20px;background:#f7f9fc;border-radius:17px}.company-contact h2{margin:0 0 13px;font-size:16px}.company-contact p{margin:8px 0;color:#56647b;font-size:13px;overflow-wrap:anywhere}.company-description{margin-top:22px}.company-description h2,.content-card h2{font-size:22px}.reviews-section{margin-top:32px}.reviews-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.content-card{padding:25px}.content-card>*:first-child{margin-top:0}.content-card>*:last-child{margin-bottom:0}.content-card h1{font-size:34px;line-height:1.2;letter-spacing:-.8px}.content-card h2{margin-top:30px}.ov-form{display:grid;gap:13px}.ov-form p{margin:0;color:var(--ov-muted);font-size:13px}.ov-form label{display:grid;gap:6px;font-size:13px;font-weight:700}.ov-notice{margin:0 0 16px;padding:12px 15px;border-radius:11px;background:#ecfdf5;color:#116946;font-size:14px}.ov-notice--error{background:#fff1f0;color:#a52a23}.pagination{display:flex;justify-content:center;gap:8px;margin-top:28px}.pagination .page-numbers{display:grid;place-items:center;min-width:39px;height:39px;border:1px solid var(--ov-line);border-radius:10px;color:var(--ov-ink)}.pagination .current{background:var(--ov-blue);border-color:var(--ov-blue);color:#fff}.empty-state{padding:34px;border:1px dashed #cfd8e6;border-radius:16px;text-align:center;color:var(--ov-muted)}.site-footer{margin-top:50px;background:#14213a;color:#cbd5e1}.footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:45px;padding:45px 0}.footer-brand{color:#fff}.footer-main p{max-width:340px;color:#aab6c9;font-size:13px}.footer-col h3{margin:0 0 13px;color:#fff;font-size:14px}.footer-col ul{margin:0;padding:0;list-style:none}.footer-col li{margin:8px 0}.footer-col a{color:#cbd5e1;font-size:13px}.footer-bottom{padding:17px 24px;border-top:1px solid rgba(255,255,255,.12);text-align:center;color:#95a3ba;font-size:12px}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ov-honeypot{position:absolute!important;left:-10000px!important}.alignwide{max-width:1120px;margin-inline:auto}.alignfull{width:100%;max-width:none}.wp-block-image img,.wp-post-image{border-radius:14px}.entry-content{font-size:16px}.entry-content p{margin:0 0 1.1em}.entry-content li{margin:.35em 0}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:30px}.hero-card{max-width:580px}.grid--categories{grid-template-columns:repeat(3,1fr)}.grid--companies{grid-template-columns:repeat(2,1fr)}.catalog-layout{grid-template-columns:210px 1fr;gap:18px}.company-detail{grid-template-columns:1fr}.company-contact{order:2}.footer-main{gap:25px}}
@media(max-width:680px){.header-inner{min-height:66px;padding:0 17px;gap:12px}.brand{font-size:19px}.brand-mark{width:34px;height:34px}.menu-toggle{display:inline-flex;margin-left:auto}.primary-nav{display:none;position:absolute;top:65px;left:0;right:0;margin:0;padding:14px 20px;background:#fff;border-bottom:1px solid var(--ov-line);box-shadow:var(--ov-shadow)}.primary-nav.is-open{display:block}.primary-nav ul{align-items:stretch;flex-direction:column;gap:0}.primary-nav li{padding:9px 0;border-bottom:1px solid #f0f2f6}.header-actions{display:none}.container{width:min(100% - 34px,1120px)}.hero{padding:48px 0 42px}.hero h1{font-size:40px;letter-spacing:-1.7px}.hero-copy{font-size:16px}.search-form{flex-direction:column;padding:8px}.search-form input{min-height:43px}.search-form button{width:100%}.hero-card{padding:19px}.stats-row{gap:14px;flex-wrap:wrap}.section{padding:43px 0}.section-head h2{font-size:23px}.grid--categories{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{min-height:115px;padding:14px}.grid--companies,.grid--reviews{grid-template-columns:1fr}.catalog-layout{grid-template-columns:1fr}.filters{order:0}.results{order:1}.company-profile{padding:19px}.company-profile h1{font-size:25px}.company-profile-head{align-items:flex-start}.company-profile .company-logo{width:62px;height:62px}.content-card{padding:19px}.content-card h1{font-size:29px}.footer-main{grid-template-columns:1fr;gap:22px;padding:35px 0}.footer-main p{margin-bottom:0}.page-hero{padding:34px 0 23px}.results-top{align-items:flex-start;flex-direction:column}}

/* Keep the full header within the viewport when browser zoom reduces the usable width. */
@media (min-width:681px) and (max-width:1100px){.header-inner{gap:12px;padding-inline:18px}.brand{font-size:19px;gap:7px}.brand-mark{width:34px;height:34px}.menu-toggle{display:inline-flex;margin-left:auto}.primary-nav{display:none;position:absolute;top:75px;left:0;right:0;margin:0;padding:14px 20px;background:#fff;border-bottom:1px solid var(--ov-line);box-shadow:var(--ov-shadow)}.primary-nav.is-open{display:block}.primary-nav ul{align-items:stretch;flex-direction:column;gap:0}.primary-nav li{padding:9px 0;border-bottom:1px solid #f0f2f6}.header-actions{gap:7px}.header-actions .button{padding:7px 10px;font-size:12px}}
