/*
Theme Name: Avrin Business
Description: Адаптивная тема Avrin Group Business Support с поддержкой Polylang, меню и обычных страниц WordPress.
Version: 1.7.1
Author: Avrin Group Business Support
Text Domain: avrin-business
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:#f6f3ee;color:#102038;font:15px/1.55 Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #397aff;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08}.shell{width:min(1320px,calc(100% - 100px));margin:auto}header{background:#071e35;color:white}.top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;gap:16px;align-items:center;flex-shrink:0;font:29px/1 Georgia,serif}.brand small{display:block;font:11px/1.4 Arial,sans-serif;letter-spacing:1.5px;margin-top:7px}.mark{width:47px;height:47px;overflow:hidden;position:relative;display:block;flex-shrink:0}.mark img{position:absolute;width:98px;max-width:none;left:-25.6px;top:-14.3px}nav{display:flex;align-items:center;gap:28px;font-size:13px}nav a{padding:10px 0;border-bottom:1px solid transparent}nav a:hover{border-color:#d6b58d}.controls{position:relative;display:flex;gap:10px}.controls button{background:none;border:0;color:white;padding:10px;min-height:44px}.menu{display:none}.language{position:absolute;right:0;top:48px;z-index:5;width:260px;background:#f6f3ee;color:#102038;padding:20px;border:1px solid #c4b6a3}.language p{margin-bottom:10px}.hero{position:relative;isolation:isolate;overflow:hidden;background:#071e35;color:white}.hero-img{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:center}.hero-content{padding:45px 0 32px}.eyebrow{font:11px/1.5 Arial,sans-serif;letter-spacing:2px;margin-bottom:18px}.hero h1{font-size:clamp(42px,4.6vw,66px);max-width:500px;letter-spacing:-1.2px}.intro{font-size:16px;max-width:350px;margin:20px 0 26px;line-height:1.5}.cta{display:inline-flex;align-items:center;gap:35px;justify-content:space-between;padding:12px 23px;min-height:48px;border:1px solid #d2b18a;border-radius:28px;font-size:14px;background:#f7f2e8;color:#102038}.cta:hover{background:#e2d9ca}.process{margin-top:34px;display:grid;grid-template-columns:repeat(3,145px);gap:28px}.number{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #d5ba99;border-radius:50%;font-size:11px}.process h3{font-family:Arial,sans-serif;font-size:16px;margin:10px 0 5px}.process p{font-size:12px;color:#e5eaf1}.services{padding-top:42px}.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-bottom:30px}h2{font-size:40px;letter-spacing:-.8px}.section-heading>p{max-width:490px;font-size:14px;border-left:1px solid #c6aa88;padding-left:32px}.composition{display:grid;grid-template-columns:1fr 1.14fr;gap:24px}.composition img{width:100%;height:100%;object-fit:cover;display:block}.copy h3{font-size:29px}.copy>p:not(.eyebrow){font-size:14px;line-height:1.5;margin-top:12px}.copy a{display:inline-block;border-bottom:1px solid;margin-top:18px;padding-bottom:4px;font-size:13px}.feature{position:relative;min-height:445px;overflow:hidden;background:#102e48;color:white}.feature .copy{position:absolute;bottom:0;left:0;right:0;padding:28px;background:#071e35eb}.feature .copy>p:not(.eyebrow){max-width:400px}.feature .eyebrow{margin-bottom:10px}.side{display:grid;grid-template-rows:1fr 1fr;gap:14px}.service{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;background:#eeebe5}.service .copy{padding:22px 0 22px 22px}.service img{min-height:210px}.service .eyebrow{font-size:10px;letter-spacing:1px}.other{display:grid;grid-template-columns:.65fr .75fr 1fr 1fr;gap:25px;align-items:center;margin:28px 0;padding:15px 0}.other h3{font-size:25px}.other>a{font-size:13px;display:flex;justify-content:space-between;gap:10px}.projects{font-size:12px;color:#536071;border-top:1px solid #d5cec3;padding-top:18px}.projects a{text-decoration:underline}.knowledge{border-top:1px solid #c8beaf;margin-top:36px;padding-top:28px;padding-bottom:28px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.knowledge h2{font-size:31px}.knowledge>p{font-size:14px;max-width:420px;color:#566171}.contact{padding:30px 0 38px;border-top:1px solid #c8beaf;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}.contact h2{font-size:34px}.contact p:not(.eyebrow){max-width:470px;margin-top:15px;font-size:14px;color:#566171}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.contact-grid>a{border:1px solid #c4a17d;border-radius:7px;padding:14px 18px;min-height:58px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:15px}.contact-grid small{flex-basis:100%;font-size:12px}.contact-grid>a:hover{background:#e9e1d4}footer{border-top:1px solid #c8beaf;padding:24px 0 30px;display:flex;justify-content:space-between;align-items:center;gap:30px}footer .brand{font-size:25px}footer p,footer>small{font-size:12px;color:#546071}
@media(max-width:1000px){.shell{width:calc(100% - 56px)}nav{gap:16px}.brand{font-size:24px}.top{gap:18px}.section-heading h2{font-size:35px}.copy h3{font-size:25px}.service{grid-template-columns:1fr}.service img{height:140px;min-height:0}.composition{grid-template-columns:1fr 1fr}.service .copy{padding:20px}.process{grid-template-columns:repeat(3,120px)}.other{grid-template-columns:1fr 1fr}.contact,.knowledge{gap:30px}}
@media(max-width:640px){.shell{width:calc(100% - 40px)}.top{min-height:70px;gap:10px;flex-wrap:wrap}.brand{gap:10px;font-size:21px}.mark{width:31px;height:31px}.mark img{width:64.8px;left:-16.9px;top:-9.4px}.brand small{font-size:9px;letter-spacing:.3px;margin-top:5px}.controls{margin-left:auto;gap:2px;font-size:12px}.controls button{padding:10px 6px}.menu{display:block}nav{display:none;order:3;flex-basis:100%;padding:0 0 16px}nav.open{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}.hero-content{padding:26px 0 22px}.hero-img{object-position:61% center}.hero .eyebrow{max-width:230px;font-size:9px;letter-spacing:1px}.hero h1{font-size:38px;line-height:1.04;max-width:250px;letter-spacing:-.8px}.intro{font-size:14px;max-width:235px;margin:17px 0 20px;background:#071e3526}.cta{font-size:14px;padding:11px 19px;gap:25px}.process{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:27px}.number{width:31px;height:31px;font-size:10px}.process h3{font-size:14px;margin-top:9px}.process p{display:none}.services{padding-top:27px}.eyebrow{font-size:10px;letter-spacing:1.8px;margin-bottom:13px}.section-heading{display:block;margin-bottom:22px}.section-heading h2{font-size:32px}.section-heading>p{display:none}.composition{display:block}.feature{min-height:0;background:none;color:#102038;overflow:visible}.feature>img{height:150px;border-radius:3px}.feature .copy{position:static;padding:10px 0 22px;background:none}.feature .copy .eyebrow{display:none}.copy h3{font-size:26px;line-height:1.1}.copy h3 br{display:none}.copy>p:not(.eyebrow){font-size:14px;margin-top:7px}.copy a{margin-top:9px;font-size:14px}.side{display:block}.service{display:flex;flex-direction:column-reverse;gap:0;background:none}.service img{height:145px;border-radius:3px;min-height:0}.service .copy{padding:10px 0 24px}.service .eyebrow{display:none}.other{display:block;border-top:1px solid #c4a17d;margin:0;padding:15px 0 0}.other h3{font-size:25px;margin-bottom:10px}.other>a{padding:12px 0;border-bottom:1px solid #cbbba7;font-size:15px;min-height:48px}.projects{font-size:12px;line-height:1.6;padding:16px 0;margin-top:0;border-top:0}.knowledge{display:block;margin-top:0;padding:17px 0;border-top:1px solid #c4a17d}.knowledge .eyebrow{display:none}.knowledge h2{font-size:25px}.knowledge h2 br{display:none}.knowledge>p{margin-top:8px;font-size:13px}.contact{display:block;padding:20px 0;border-top:0}.contact .eyebrow{display:none}.contact h2{font-size:26px}.contact p:not(.eyebrow){font-size:13px;margin-top:8px}.contact-grid{margin-top:18px;gap:8px}.contact-grid>a{padding:11px 14px;min-height:50px;font-size:14px}.contact-grid small{font-size:11px}footer{gap:16px;align-items:start;padding:20px 0}footer .brand{font-size:19px}footer .brand small{font-size:8px}footer p{display:none}footer>small{font-size:10px;max-width:130px}.language{right:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.controls button,.copy a,.other a,.cta{display:inline-flex;align-items:center;gap:12px}
.controls .menu{display:none}
.contact-grid>a{display:grid;grid-template-columns:22px 1fr 18px;gap:10px;align-content:center}
.contact-grid>a small{grid-column:2 / -1}
.other>a{display:flex;gap:12px;justify-content:flex-start}
.other>a>span{flex:1}
.other>a svg{flex-shrink:0}
.copy h3{overflow-wrap:normal}
@media(min-width:641px) and (max-width:1000px){
 .hero-img{content:url('assets/hero-mobile.webp');object-position:center 38%;opacity:.55;}
 .process{background:#071e3599;padding:12px 10px;margin-left:-10px;border-radius:3px;}
}
@media(min-width:641px){
 .hero h1 br:nth-of-type(2){display:none;}
 .hero-content{padding:30px 0 24px;}
 .hero h1{font-size:clamp(44px,4.2vw,58px);}
 .intro{font-size:15px;margin:16px 0 19px;}
 .process{margin-top:24px;}
 .process p{font-size:11px;}
 .number{width:32px;height:32px;}
}
@media(max-width:640px){
 .controls .menu{display:inline-flex}
 .hero-img{content:url('assets/hero-mobile.webp');object-position:center;opacity:.62;}
 .hero .eyebrow{font-size:10px;max-width:245px;letter-spacing:1px;}
 .intro{font-size:15px;max-width:230px;background:none;line-height:1.45;}
 .hero h1{font-size:38px;max-width:240px;}
 .process{background:#071e35b8;padding:12px 10px;margin-left:-10px;margin-right:-10px;border-radius:3px;}
 .contact-grid>a{grid-template-columns:20px 1fr 14px;gap:7px;padding:10px;}
 .contact-grid>a small{font-size:11px;}
 .copy h3{font-size:25px;}
 .service-copy,.copy{min-width:0;}
}

/* WordPress, menus and normal articles */
.mark img{height:auto;}
.hero>img{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:center;}
@media(min-width:641px) and (max-width:1000px){.hero>img{content:url('assets/hero-mobile.webp');object-position:center 38%;opacity:.55;}}
@media(max-width:640px){.hero>img{content:url('assets/hero-mobile.webp');object-position:center;opacity:.62;}}
.av-icon{display:inline-block;flex-shrink:0;object-fit:contain;width:20px;height:20px;vertical-align:middle;}
.hero .av-icon,.controls .av-icon{filter:brightness(0) invert(1);}
.hero .cta .av-icon{filter:none;}
.composition img.av-icon{width:16px;height:16px;min-height:0;display:inline-block;}
.feature .av-icon{filter:brightness(0) invert(1);}
@media(max-width:640px){.feature .av-icon{filter:none;}}
.nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px;}
.nav li{position:relative;}.nav li .sub-menu{display:none;position:absolute;inset-block-start:100%;inset-inline-start:0;min-width:230px;z-index:8;background:#071e35;padding:16px;box-shadow:0 4px 12px #0003;}
.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:grid;gap:10px;}
.language{list-style:none;margin:0;padding:15px;}.language a{display:block;padding:8px 10px;}.language .current-lang a{background:#e7e0d5;}.language[hidden]{display:none;}
.entry{max-width:780px;padding:50px 24px 70px;margin:auto;}.entry h1{font-size:clamp(32px,4vw,48px);margin-bottom:25px;}.entry h2{font-size:30px;margin:30px 0 15px;}.entry h3{font-size:24px;margin:25px 0 12px;}.entry p,.entry ul,.entry ol{margin:0 0 18px;}.entry a{text-decoration:underline;}.entry img{max-width:100%;height:auto;}.entry .wp-block-image{margin:20px 0;}
.av-home-content>*{margin-block-start:0;margin-block-end:0;} .av-home-content .av-icon{max-width:none;}
.skip-link{position:absolute;inset-inline-start:20px;top:-100px;background:#fff;color:#102038;padding:12px 18px;z-index:10000;}.skip-link:focus{top:10px;}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.admin-bar header{scroll-margin-top:32px;}.controls button .av-icon{width:18px;height:18px;}.controls .menu .av-icon{width:24px;height:24px;}
@media(max-width:640px){.nav.open ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;}.nav.open ul.sub-menu{position:static;grid-template-columns:1fr;box-shadow:none;padding:8px;}.feature .copy .av-icon{min-height:0;}.nav ul{gap:10px;}}
html[dir=rtl] .hero h1 br:nth-of-type(2){display:none;}
/* RTL keeps the illustration intact; reading direction follows Arabic. */
html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif;}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{font-family:Tahoma,Arial,sans-serif;line-height:1.35;letter-spacing:0;}
html[dir=rtl] .hero>img{transform:scaleX(-1);}html[dir=rtl] .hero .eyebrow{letter-spacing:0;}html[dir=rtl] .controls{margin-left:0;}html[dir=rtl] .brand{direction:ltr;}html[dir=rtl] .section-heading>p{border-left:0;border-right:1px solid #c6aa88;padding-left:0;padding-right:32px;}
html[dir=rtl] .service .copy{padding:22px 22px 22px 0;}html[dir=rtl] .language{right:auto;left:0;}html[dir=rtl] .intro{max-width:400px;}html[dir=rtl] .hero h1{font-size:clamp(42px,4vw,55px);}
@media(max-width:640px){html[dir=rtl] .controls{margin-right:auto;}html[dir=rtl] .service .copy{padding:10px 0 24px;}html[dir=rtl] .hero h1{font-size:35px;}html[dir=rtl] .intro{max-width:245px;}}
html[lang^=zh] h1,html[lang^=zh] h2,html[lang^=zh] h3{font-family:'Noto Serif CJK SC','Songti SC',serif;line-height:1.25;}html[lang^=zh] .hero h1{font-size:48px;}@media(max-width:640px){html[lang^=zh] .hero h1{font-size:35px;}}
.avrin-country-service{display:block;margin:12px 0;font-weight:600;}
