.home-branches{position:relative;overflow:hidden;margin:0;padding:80px 0 84px;background:#f4f3f5;border-bottom:1px solid #e2e0e5;isolation:isolate}
.home-branches::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 92% 8%,#b0292709,transparent 48%),linear-gradient(135deg,#fff9,transparent 65%);pointer-events:none}
.home-branches-inner{position:relative}
.home-branches-heading{display:flex;justify-content:space-between;align-items:center;gap:40px;margin-bottom:30px}
.home-branches-wordmark{display:block;color:var(--brand);font-size:14px;font-weight:600;margin-bottom:8px;letter-spacing:.02em}
.home-branches-heading h2{font-size:clamp(36px,4vw,54px);letter-spacing:-1.7px;line-height:1.2;color:var(--ink);margin:0 0 15px}
.home-branches-heading p{font-size:15px;max-width:460px;line-height:1.85;color:#65626d}
.home-branches-network{width:340px;max-width:32%;align-self:center;opacity:.75;flex-shrink:0}
.home-branches-network svg{display:block;width:100%;height:auto;stroke:#ddd5da;stroke-width:1;fill:none}
.home-branches-network .network-route{stroke:var(--brand);stroke-width:1.4;stroke-dasharray:3 5}
.home-branches-network circle{stroke:#fff;stroke-width:4;fill:var(--brand)}
.home-branches-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.home-branches-country{display:inline-flex;align-items:center;gap:8px;color:#5a535c;font-size:13px}
.home-branches-country svg{color:var(--brand);width:17px;height:17px}
.home-branches-directory{display:inline-flex;gap:16px;align-items:center;font-size:13px;font-weight:700;color:var(--ink);min-height:44px}
.home-branches-directory svg{width:18px;height:18px;color:var(--brand)}
.home-branches-countries{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:5px;background:#e9e6eb;border-radius:28px}
.home-branches-countries button{padding:10px 18px;border-radius:24px;min-height:44px;background:transparent;color:#665d68;font-size:13px}
.home-branches-countries .is-active{background:var(--brand);color:#fff}
.home-branches-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.home-branch-card{min-width:0;background:#fff;border:1px solid #e6e2e7;border-radius:17px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 3px 4px #21172202}
.home-branch-visual{position:relative;display:block;height:190px;overflow:hidden;background:linear-gradient(140deg,#3e3b40,#17181e 70%);isolation:isolate}
.home-branch-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.7%,#ffffff0c 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,#ffffff0c 50%,transparent 50.3%);background-size:45px 45px;z-index:-1}
.home-branch-visual img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .45s ease}
.home-branch-visual:hover img{transform:scale(1.035)}
.home-branch-emblem{position:absolute;inset:0;display:grid;place-items:center;color:#ffffff26;z-index:-1}
.home-branch-emblem svg{width:60px;height:60px;stroke-width:1}
.home-branch-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,#17181e00 20%,#17181ed9 100%);pointer-events:none}
.home-branch-city{position:absolute;inset-inline:19px;bottom:18px;display:flex;flex-direction:column;gap:3px;color:#fff}
.home-branch-city>span:first-child{font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.3px}
.home-branch-city>span:last-child{font-size:12px;color:#dfdce2;line-height:1.5}
.home-branch-body{flex:1;padding:21px 18px 18px;display:flex;flex-direction:column;min-width:0}
.home-branch-body h3{font-size:17px;letter-spacing:-.3px;line-height:1.5;margin:0 0 13px}
.home-branch-body address{display:flex;align-items:flex-start;gap:10px;font-style:normal;font-size:13px;line-height:1.85;color:#68626d;margin-bottom:18px;min-height:72px}
.home-branch-body address svg{margin-top:3px;width:16px;height:16px;color:var(--brand)}
.home-branch-contacts{display:flex;flex-direction:column;gap:7px;margin-top:auto}
.home-branch-contacts a{display:flex;align-items:center;gap:9px;min-height:29px;font-size:12px;color:#4f4953;overflow-wrap:anywhere}
.home-branch-contacts svg{width:15px;height:15px;color:#89818d}
.home-branch-actions{display:flex;gap:8px;margin-top:21px}
.home-branch-location{display:flex;align-items:center;justify-content:space-between;gap:9px;flex:1;background:#17181e;color:#fff;border-radius:9px;padding:12px;min-height:45px;font-size:12px;font-weight:650}
.home-branch-location:hover{background:var(--brand)}
.home-branch-location svg{width:16px;height:16px}
.home-branch-map{display:grid;place-items:center;flex:0 0 45px;min-height:45px;border:1px solid #e8e2e8;border-radius:9px;color:var(--brand)}
.home-branch-map:hover{background:#f6f1f4}
.home-branches-empty{grid-column:1/-1;padding:35px 0;color:#655e69}
html[dir=rtl] .home-branches-heading h2{letter-spacing:0}
html[dir=rtl] .home-branch-city>span:first-child{letter-spacing:0}
html[dir=rtl] :is(.home-branches-directory,.home-branch-location) svg{transform:scaleX(-1)}
@media(max-width:1100px){.home-branches-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home-branch-visual{height:210px}.home-branch-body{padding:23px}.home-branch-body address{min-height:50px;font-size:13px}.home-branch-contacts a{font-size:13px}.home-branch-location{font-size:13px}}
@media(max-width:650px){.home-branches{padding:50px 0 55px}.home-branches-heading{gap:20px;margin-bottom:25px}.home-branches-wordmark{font-size:12px}.home-branches-heading h2{font-size:38px;margin-bottom:13px}.home-branches-heading p{font-size:13px}.home-branches-network{position:absolute;width:170px;max-width:none;top:5px;inset-inline-end:-25px;opacity:.2;z-index:-1}.home-branches-toolbar{align-items:flex-start;gap:9px;flex-wrap:wrap;margin-bottom:20px}.home-branches-country{font-size:12px;min-height:40px}.home-branches-directory{font-size:12px;gap:10px;min-height:40px}.home-branches-grid{grid-template-columns:minmax(0,1fr);gap:22px}.home-branch-visual{height:200px}.home-branch-body{padding:21px}.home-branch-body address{min-height:0;margin-bottom:16px}.home-branch-contacts a{min-height:35px}.home-branch-location{min-height:47px}.home-branches-countries button{padding:9px 13px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-branch-visual img{transition:none}}
