/* Подвал v2 на всех страницах (решение Павла 25.10.2026, как на главной): тёмный, логотип слева, телефоны справа
   с подписью страны, соцсети под ними, колонки меню ниже. Подключает mu-plugins/rng-home-v2.php. */
:root{--hv2-bg:#0f0f10;--hv2-bg2:#161617;--hv2-fg:#f2f0eb;--hv2-muted:#9b9a95;--hv2-line:#2a2a2d;--hv2-accent:#d9442f;--hv2-gutter:clamp(20px,4vw,64px)}
/* main.css даёт .section высоту экрана и центрирует содержимое — на главной подвал растягивался до 900px с пустотой сверху */
.footer.section{height:auto!important;min-height:0!important;display:block!important;background:var(--hv2-bg);color:var(--hv2-fg);border-top:1px solid var(--hv2-line);padding:48px 0 28px}
.footer .container{display:grid;grid-template-columns:1fr auto;grid-template-areas:"logo left" "c r" "bottom bottom" "upd upd";gap:28px 40px;align-items:start}
.footer .footer-logo{grid-area:logo;margin:0;height:28px;width:auto;content:url(/wp-content/themes/rng/img/logo.svg);filter:brightness(0) invert(1);justify-self:start;align-self:center}
.footer .footer-wrapper{display:contents}
.footer .footer-left{grid-area:left;padding:0;display:grid;gap:18px;justify-items:end;text-align:right}
.footer .footer-phone{color:var(--hv2-fg);font-size:20px;letter-spacing:.04em;line-height:1.2;display:grid;gap:2px;text-decoration:none}
.footer .footer-phone::before{font-family:inherit;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--hv2-muted)}
.footer .footer-left .footer-phone:nth-of-type(1)::before{content:"UAE · Dubai"}
.footer .footer-left .footer-phone:nth-of-type(2)::before{content:"USA · Los Angeles"}
.footer .footer-soc{display:flex;gap:20px;margin:0}
.footer .footer-soc__item{margin:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;overflow:hidden}
.footer .footer-soc__item img{width:40px;height:40px}
.footer .footer-partner{margin:6px 0 0;height:40px;width:auto;filter:brightness(0) invert(1);opacity:.7}
.footer .footer-wrapper>.footer-center{grid-area:c;width:auto;max-width:none}
.footer .footer-wrapper>.footer-right{grid-area:r;width:auto;max-width:none;justify-self:start}
.footer .footer-nav ul{margin:0;columns:2;column-gap:40px}
.footer .footer-center .footer-nav ul{columns:3}
.footer .footer-nav ul li{break-inside:avoid;margin:0 0 10px}
.footer .footer-nav ul li a{color:#d8d5ce;font-size:14px;text-decoration:none}
.footer .footer-bottom{grid-area:bottom;margin:0;padding:20px 0 0;border-top:1px solid var(--hv2-line);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer .footer-bottom__copy,.footer .footer-bottom__link{color:var(--hv2-muted);font-size:12px;opacity:1}
.footer .footer-bottom__links{display:flex;gap:16px;flex-wrap:wrap}
.footer .container>div[style]{grid-area:upd}
.footer .container>div[style] span,.footer .container>div[style] a{color:var(--hv2-muted)!important}
.footer .container>div[style]{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
@media (max-width:900px){
	.footer .container{grid-template-columns:auto 1fr;grid-template-areas:"logo left" "soc soc" "c c" "r r" "bottom bottom" "upd upd";gap:28px 16px;align-items:center}
	.footer .footer-left{display:contents}
	.footer .footer-left .footer-phone{grid-area:left;justify-self:end;font-size:22px}
	.footer .footer-logo{height:26px}
	.footer .footer-left .footer-phone:nth-of-type(2){margin-top:70px}
	.footer .footer-left .footer-phone:nth-of-type(1){margin-top:-70px}
	.footer .footer-soc{grid-area:soc;justify-content:center;gap:30px}
	.footer .footer-soc__item,.footer .footer-soc__item img{width:46px;height:46px}
	.footer .footer-partner{grid-area:upd;justify-self:center;margin:0}
	.footer .footer-nav ul,.footer .footer-center .footer-nav ul{columns:2}
	.footer .footer-bottom{justify-content:center;text-align:center}
	.footer .container>div[style]{justify-content:center;text-align:center}
}

@media (max-width:767px){
	.footer{padding-bottom:88px!important}
}
