.iv-footer {
    --footer-line: #394356;
    --footer-muted: #c4cad6;
    --footer-link-highlight: #c0bcff;
    display: block;
    background: #161c2d;
    border-top: 3px solid #473bf0;
    padding: 0;
    color: #fff;
    font: 500 16px/1.5 Manrope, Arial, sans-serif;
    scroll-margin-top: 90px;
}
.iv-footer *, .iv-footer *::before, .iv-footer *::after { box-sizing: border-box; }
.iv-footer__inner { width: min(1320px, 92%); margin: 0 auto; }
.iv-footer a { color: inherit; text-decoration: none; }
.iv-footer :is(a, summary):is(:hover, :active, :focus) { text-decoration: none; }
.iv-footer :is(a, summary):focus-visible { outline: 2px solid var(--footer-link-highlight); outline-offset: 3px; border-radius: 3px; }
.iv-footer .iv-footer__cta:focus-visible { border-radius: 9px; }
.iv-footer ::selection { background: #4a4678; color: #fff; }
.iv-footer :is(h2, p, address, ul) { margin: 0; padding: 0; text-align: left; }
.iv-footer ul { list-style: none; }
.iv-footer h2 { color: inherit; font: 800 16px/1.4 Manrope, Arial, sans-serif; letter-spacing: -.3px; }
.iv-footer svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.iv-footer__top, .iv-footer__address, .iv-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.iv-footer__top { border-bottom: 1px solid var(--footer-line); padding: 27px 0; }
.iv-footer .iv-footer__logo { font: 700 35px/1.1 Rubik, Manrope, sans-serif; letter-spacing: -1.6px; text-decoration: none; }
.iv-footer__logo span { color: #473bf0; }
.iv-footer .iv-footer__cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 9px; background: #473bf0; font-size: 15px; font-weight: 750; text-decoration: none; }
.iv-footer__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr) minmax(0, .82fr) minmax(0, 1.1fr); gap: clamp(20px, 2.6vw, 44px); padding: 32px 0; align-items: start; }
.iv-footer__office img { display: block; width: 100%; height: clamp(140px, 12vw, 175px); border-radius: 10px; object-fit: cover; object-position: 50% 51%; }
.iv-footer__address { margin-top: 10px; }
.iv-footer address { color: var(--footer-muted); font-size: 14px; font-style: normal; }
.iv-footer__address a, .iv-footer__social a, .iv-footer__hours, .iv-footer summary { display: inline-flex; align-items: center; gap: 6px; }
.iv-footer__address a, .iv-footer__social a { min-height: 36px; font-size: 14px; font-weight: 650; }
.iv-footer__nav ul { margin-top: 10px; }
.iv-footer__nav a { display: inline-flex; align-items: center; min-height: 33px; font-size: 15px; line-height: 1.4; }
.iv-footer__contact { min-width: 0; min-height: 170px; border-left: 1px solid var(--footer-line); padding-left: clamp(14px, 2vw, 30px); }
.iv-footer__hours { color: var(--footer-muted); font-size: 13px; }
.iv-footer .iv-footer__phone { display: block; width: max-content; margin: 10px 0; white-space: nowrap; font-size: clamp(22px, 1.95vw, 29px); font-weight: 750; line-height: 1.22; letter-spacing: -.9px; }
.iv-footer__social { display: flex; align-items: center; flex-wrap: wrap; gap: 0 15px; }
.iv-footer .iv-footer__email { display: inline-flex; align-items: center; margin-top: 5px; color: var(--footer-muted); font-size: 15px; }
.iv-footer__legal { border-top: 1px solid var(--footer-line); padding: 16px 0; color: var(--footer-muted); font-size: 12px; }
.iv-footer__cities { position: relative; margin-left: auto; }
.iv-footer summary { min-height: 30px; cursor: pointer; list-style: none; }
.iv-footer summary::-webkit-details-marker { display: none; }
.iv-footer summary svg { width: 14px; height: 14px; }
.iv-footer details[open] summary svg { transform: rotate(180deg); }
.iv-footer__cities ul { position: absolute; z-index: 2; right: 0; bottom: 100%; min-width: 152px; padding: 8px; border: 1px solid var(--footer-line); border-radius: 8px; background: #161c2d; box-shadow: 0 6px 16px #0004; }
.iv-footer__cities li a { display: block; padding: 7px 10px; color: #fff; font-size: 14px; }
@media (hover: hover) {
    .iv-footer a:hover, .iv-footer summary:hover { color: var(--footer-link-highlight); }
    .iv-footer .iv-footer__cta:hover { background: #382bd1; color: #fff; }
}
@media (prefers-reduced-motion: no-preference) {
    .iv-footer :is(a, summary) { transition: color 160ms ease-out, background-color 160ms ease-out; }
}
@media (max-width: 1040px) {
    .iv-footer__grid { grid-template-columns: 1.2fr 1fr; gap: 26px 40px; }
    .iv-footer__office { grid-area: 1 / 1; }
    .iv-footer__contact { grid-area: 1 / 2; border: 0; padding: 0; min-height: 0; }
}
@media (max-width: 660px) {
    .iv-footer__inner { width: calc(100% - 40px); }
    .iv-footer__top { padding: 17px 0; gap: 8px; }
    .iv-footer .iv-footer__logo { font-size: clamp(23px, 7vw, 28px); }
    .iv-footer .iv-footer__cta { min-height: 44px; padding: 8px 12px; gap: 6px; font-size: 12px; }
    .iv-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 15px; padding: 22px 0; }
    .iv-footer__contact { grid-area: 1 / 1 / 2 / -1; }
    .iv-footer__office { grid-area: 2 / 1 / 3 / -1; }
    .iv-footer__office img { height: clamp(130px, 36vw, 210px); }
    .iv-footer .iv-footer__phone { display: flex; align-items: center; min-height: 44px; margin: 4px 0; font-size: 32px; }
    .iv-footer .iv-footer__email { margin: 0; }
    .iv-footer :is(.iv-footer__social a, .iv-footer__email, .iv-footer__nav a, .iv-footer__address a, summary) { min-height: 44px; }
    .iv-footer__nav ul { margin-top: 5px; }
    .iv-footer__nav a { font-size: 14px; }
    .iv-footer__legal { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 6px 0 13px; }
    .iv-footer__legal > a { display: inline-flex; align-items: center; min-height: 38px; grid-column: 1 / -1; }
}
