.ctc {
    --ctc-tint: #f3f6ff;
    --ctc-navy: #050d2e;
    --ctc-glass: rgba(255, 255, 255, .08);
    --ctc-glass-line: rgba(255, 255, 255, .2);
    background: var(--white);
}

.ctc-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: var(--lh-small);
    color: var(--ink);
}

.ctc-eyebrow::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    background: var(--blue);
}

.ctc-h2 {
    margin-top: 14px;
    font-size: var(--fs-h2);
    font-weight: var(--fw-h1);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2);
    color: var(--ink);
}

.ctc-lead {
    max-width: 34em;
    margin-top: 18px;
    font-size: var(--fs-small);
    line-height: 1.7;
    color: var(--ink-70);
}

.ctc-lead a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(11, 45, 190, .3);
    text-underline-offset: 3px;
    transition: text-decoration-color .3s var(--ease);
}

.ctc-lead a:hover {
    text-decoration-color: var(--blue);
}

.ctc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(11, 45, 190, .3);
    font-size: var(--fs-btn);
    font-weight: 500;
    color: var(--blue);
    transition: border-color .3s var(--ease);
}

.ctc-link .icon {
    width: 16px;
    height: 16px;
    transition: transform .4s var(--ease-out);
}

.ctc-link:hover {
    border-color: var(--blue);
}

.ctc-link:hover .icon {
    transform: translateX(4px);
}

.ctc-btn--solid {
    --sheen: rgba(40, 70, 255, .16);
    border-color: var(--white);
    background: var(--white);
    color: var(--blue);
}

.ctc-btn--solid::before {
    background: var(--ink);
}

.ctc-btn--solid:is(:hover, :focus-visible) {
    border-color: var(--ink);
    color: var(--white);
}

.ctc-btn--solid:focus-visible {
    outline-color: var(--white);
}

.ctc-btn--glass {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
}

.ctc-btn--glass::before {
    background: var(--white);
}

.ctc-btn--glass:is(:hover, :focus-visible) {
    --sheen: rgba(40, 70, 255, .16);
    border-color: var(--white);
    color: var(--blue);
}

.ctc-top .abh__img {
    object-position: 72% 40%;
}

.ctc-top__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.js .ctc-top__actions {
    opacity: 0;
    transform: translateY(16px);
}

.js .ctc-top.is-ready .ctc-top__actions {
    opacity: 1;
    transform: none;
    transition: opacity .9s var(--ease) 1.1s, transform 1s var(--ease-out) 1.1s;
}

.ctc-offices {
    padding: 50px 0;
    background: var(--white);
}

/*rtl:begin:ignore*/

.cto {
    position: relative;
    margin-top: 28px;
    background: #f5f7fc;
    direction: ltr;
}

.cto__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 0 64px;
    padding: 30px 24px 24px;
}

[dir="rtl"] .cto__bar {
    direction: rtl;
}

[dir="rtl"] .cto__pop,
[dir="rtl"] .cto__hint,
[dir="rtl"] .cto__label {
    direction: rtl;
}

.cto__row {
    text-align: left;
}

.cto__hint {
    position: absolute;
    top: 0;
    left: 24px;
}

.cto__lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.cto__pin {
    position: absolute;
    top: var(--y);
    left: var(--x);
    z-index: 2;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: translate(calc(var(--dx) * 1cqw), calc(var(--dy) * 1cqw));
}

.cto__pop {
    position: absolute;
    top: 0;
    left: 0;
}
/*rtl:end:ignore*/

.cto__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px 10px;
}

.cto__name {
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.cto__brand {
    width: auto;
    height: 16px;
}

.cto__hint {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--fs-caption);
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--ink-55);
}

.cto__hint > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 45, 190, .16);
}

.cto__map {
    position: relative;
    z-index: 2;
    container-type: inline-size;
    aspect-ratio: 1496 / 750;
}

.cto__world {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.cto__pin > span {
    position: absolute;
    inset: 6px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 2px 6px rgba(11, 45, 190, .35);
    transition: transform .45s var(--ease-out), background-color .3s var(--ease);
}

.cto__pin::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(11, 45, 190, .2);
    animation: cto-pulse 2.8s cubic-bezier(.3, .6, .3, 1) infinite;
    animation-delay: calc(var(--i) * -.4s);
}

@keyframes cto-pulse {
    0% {
        transform: scale(.45);
        opacity: .9;
    }

    75%,
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.cto__pin:hover > span,
.cto__pin.is-hot > span,
.cto__pin.is-active > span {
    transform: scale(1.35);
}

.cto__pin.is-active {
    z-index: 3;
}

.cto__pin.is-active::before {
    background: rgba(11, 45, 190, .26);
    animation: none;
    transform: scale(1.1);
}

.cto__pin:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.cto__line {
    fill: none;
    stroke: rgba(11, 45, 190, .62);
    stroke-width: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke .3s var(--ease), stroke-width .3s var(--ease), opacity .4s var(--ease), stroke-dashoffset 1.1s var(--ease-io) calc(.5s + var(--i) * .09s);
}

.cto__end {
    fill: var(--blue);
    opacity: .55;
    transition: opacity .3s var(--ease), transform .5s var(--ease-out) calc(1.3s + var(--i) * .09s);
    transform-box: fill-box;
    transform-origin: center;
}

.cto__line.is-hot,
.cto__line.is-active {
    stroke: var(--blue);
    stroke-width: 1.6;
}

.cto__end.is-hot,
.cto__end.is-active {
    opacity: 1;
}

.cto.has-active .cto__line:not(.is-active):not(.is-hot) {
    opacity: .3;
}

.cto__rail {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
}

.cto__group {
    border: 1px solid var(--line);
    background: var(--white);
}

.cto__country {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: var(--ls-caption);
    text-transform: uppercase;
    color: var(--ink);
}

.cto__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cto__list li + li {
    border-top: 1px solid var(--line-soft);
}

.cto__row {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 14px;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: background-color .35s var(--ease);
}

.cto__row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--blue);
    transform: scaleY(0);
    transition: transform .4s var(--ease-out);
}

.cto__flag {
    flex: none;
    display: block;
    width: 22px;
    height: 15px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(10, 18, 48, .12);
}

.cto__flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cto__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.cto__city {
    display: block;
    flex: none;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.cto__meta {
    display: block;
    min-width: 0;
    text-align: end;
    font-size: var(--fs-caption);
    line-height: 1.4;
    color: var(--ink-55);
}

.cto__row:hover,
.cto__row.is-hot,
.cto__row.is-active {
    background: #f1f5ff;
}

.cto__row:hover::before,
.cto__row.is-hot::before,
.cto__row.is-active::before {
    transform: scaleY(1);
}

.cto__row:hover .cto__city,
.cto__row.is-hot .cto__city,
.cto__row.is-active .cto__city {
    color: var(--blue);
}

.cto__row:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.cto__shade {
    display: none;
}

.cto__pop {
    z-index: 6;
    width: 320px;
    background: var(--white);
    box-shadow: 0 30px 70px -28px rgba(5, 13, 46, .55), 0 0 0 1px rgba(10, 18, 48, .06);
    outline: 0;
}

.cto__close {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.cto__close .icon {
    width: 15px;
    height: 15px;
}

.cto__close:hover,
.cto__close:focus-visible {
    background: var(--blue);
    color: var(--white);
}

.cto__photo {
    height: 96px;
    overflow: hidden;
    background: var(--sky);
}

.cto__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cto__body {
    padding: 16px 22px 18px;
    text-align: start;
}

.cto__role {
    font-size: var(--fs-tag);
    font-weight: 600;
    letter-spacing: var(--ls-tag);
    text-transform: uppercase;
    color: var(--blue);
}

.cto__title {
    margin-top: 6px;
    font-size: var(--fs-h4);
    font-weight: var(--fw-h1);
    line-height: var(--lh-h4);
    color: var(--ink);
}

.cto__company {
    margin-top: 6px;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.cto__addr {
    margin-top: 6px;
    font-size: var(--fs-xs);
    line-height: 1.55;
    color: var(--ink-70);
}

.cto__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.cto__tel,
.cto__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.cto__go {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--blue);
}

.cto__tel .icon,
.cto__go .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
    transition: transform .4s var(--ease-out);
}

.cto__tel:hover {
    color: var(--blue);
}

.cto__go:hover .icon {
    transform: translate(2px, -2px);
}

.js .cto__pop {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.js .cto__pop.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    animation: cto-pop .55s var(--ease-out) both;
}

.js .cto__pop.is-closing {
    visibility: visible;
    animation: cto-pop-out .28s var(--ease) both;
}

@keyframes cto-pop {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes cto-pop-out {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: scale(.96);
    }
}

.js .cto__card {
    display: none;
}

.js .cto__card.is-on {
    display: block;
}

.js .cto__pop.is-open .cto__photo img {
    animation: cto-photo 1.2s var(--ease-out) both;
}

.js .cto__pop.is-open .cto__body > * {
    animation: cto-rise .6s var(--ease-out) both;
}

.js .cto__pop.is-open .cto__body > :nth-child(1) { animation-delay: .1s; }
.js .cto__pop.is-open .cto__body > :nth-child(2) { animation-delay: .15s; }
.js .cto__pop.is-open .cto__body > :nth-child(3) { animation-delay: .2s; }
.js .cto__pop.is-open .cto__body > :nth-child(4) { animation-delay: .25s; }
.js .cto__pop.is-open .cto__body > :nth-child(5) { animation-delay: .3s; }

@keyframes cto-photo {
    from {
        transform: scale(1.14);
    }

    to {
        transform: none;
    }
}

@keyframes cto-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.js .cto__world {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
}

.js .cto.is-in .cto__world {
    opacity: 1;
    transform: none;
}

.js .cto:not(.is-in) .cto__pin > span {
    transform: scale(0);
}

.js .cto:not(.is-in) .cto__pin::before {
    animation: none;
    opacity: 0;
}

.js .cto.is-in .cto__pin > span {
    transition-delay: calc(.35s + var(--i) * .09s);
}

.js .cto.is-ready .cto__pin > span {
    transition-delay: 0s;
}

.js .cto:not(.is-in) .cto__line {
    stroke-dashoffset: 1;
}

.js .cto:not(.is-in) .cto__end {
    transform: scale(0);
}

.js .cto.is-ready .cto__line,
.js .cto.is-ready .cto__end {
    transition-delay: 0s;
}

.js .cto__group {
    opacity: 0;
    transform: translateX(18px);
    transition: opacity .7s var(--ease) calc(.6s + var(--i) * .12s), transform .9s var(--ease-out) calc(.6s + var(--i) * .12s);
}

.js .cto.is-in .cto__group {
    opacity: 1;
    transform: none;
}

html:not(.js) .cto__pop {
    position: static;
    padding: 0 24px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    width: auto;
    background: none;
    box-shadow: none;
}

html:not(.js) .cto__card {
    background: var(--white);
}

html:not(.js) .cto__close,
html:not(.js) .cto__hint {
    display: none;
}

@media (max-width: 999px) {
    .cto__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px 0;
        padding: 30px 18px 18px;
    }

    .cto__lines {
        display: none;
    }

    .cto__rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

    .js .cto__pop {
        position: fixed;
        top: auto !important;
        right: 12px;
        bottom: 12px;
        left: 12px !important;
        z-index: 90;
        width: auto;
        max-width: 420px;
        margin: 0 auto;
        transform-origin: 50% 100% !important;
    }

    .js .cto__shade {
        position: fixed;
        inset: 0;
        z-index: 89;
        display: block;
        background: rgba(5, 13, 46, .45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s var(--ease);
    }

    .js .cto.has-active .cto__shade {
        opacity: 1;
        pointer-events: auto;
    }

    @keyframes cto-pop {
        from {
            opacity: 0;
            transform: translateY(28px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
}

@media (max-width: 640px) {
    .cto {
        margin-top: 28px;
    }

    .cto__grid {
        padding: 30px 12px 14px;
    }

    .cto__bar {
        padding: 14px 14px 8px;
    }

    .cto__hint {
        left: 12px;
    }

    .cto__rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .cto__pin {
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
    }

    .cto__pin > span {
        inset: 4px;
        border-width: 1.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cto__pin::before,
    .js .cto__pop.is-open,
    .js .cto__pop.is-closing,
    .js .cto__pop.is-open .cto__photo img,
    .js .cto__pop.is-open .cto__body > * {
        animation: none;
    }

    .cto__pin > span,
    .cto__line,
    .cto__end,
    .js .cto__world,
    .js .cto__group,
    .cto__row,
    .cto__shade {
        transition: none !important;
    }
}

.ctc-faq {
    padding: 50px 0;
    background: var(--ctc-tint);
}

.ctc-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(24px, 4vw, 56px);
}

.ctc-faq__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ctc-faq__title {
    max-width: 420px;
    margin-top: 0;
    font-size: var(--fs-h3);
    line-height: var(--lh-h3);
}

.ctc-faq__side .ctc-lead {
    margin-top: 12px;
}

.ctc-faq__media {
    position: relative;
    flex: none;
    width: 100%;
    height: 200px;
    margin: 22px 0 0;
    overflow: hidden;
    background: var(--sky);
}

.ctc-faq__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*rtl:ignore*/
    object-position: 62% 38%;
    transition: transform 1.2s var(--ease-out);
}

.ctc-faq__media:hover img {
    transform: scale(1.04);
}

.ctc-faq__list {
    align-self: start;
}

.ctc-faq__item {
    border-bottom: 1px solid var(--line);
}

.ctc-faq__item:first-child {
    border-top: 1px solid var(--line);
}

.ctc-faq__q {
    margin: 0;
    font: inherit;
}

.ctc-faq__q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: var(--fs-h6);
    font-weight: 500;
    line-height: 1.45;
    text-align: start;
    cursor: pointer;
    transition: color .3s var(--ease);
}

.ctc-faq__q button:hover,
.ctc-faq__item.is-open .ctc-faq__q button {
    color: var(--blue);
}

.ctc-faq__q button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.ctc-faq__icon {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .45s var(--ease-out);
}

.ctc-faq__icon::before,
.ctc-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: translateY(-50%);
}

.ctc-faq__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.ctc-faq__item.is-open .ctc-faq__icon {
    transform: rotate(45deg);
}

.ctc-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .55s var(--ease-out);
}

.ctc-faq__item.is-open .ctc-faq__a {
    grid-template-rows: 1fr;
}

.ctc-faq__inner {
    min-height: 0;
    overflow: hidden;
    padding-right: 42px;
    font-size: var(--fs-small);
    line-height: var(--lh-small);
    color: var(--ink-70);
    opacity: 0;
    transition: opacity .3s var(--ease), padding-bottom .55s var(--ease-out);
}

.ctc-faq__item.is-open .ctc-faq__inner {
    padding-bottom: 24px;
    opacity: 1;
    transition: opacity .45s var(--ease) .12s, padding-bottom .55s var(--ease-out);
}

.ctc-faq__inner p + p {
    margin-top: .8em;
}

.ctc-faq__inner a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(11, 45, 190, .3);
    text-underline-offset: 3px;
}

.ctc-faq__inner a:hover {
    text-decoration-color: var(--blue);
}

@media (max-width: 1099px) {
    .ctc-offices {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .ctc-offices {
        padding-bottom: 56px;
    }

    .ctc-faq__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .ctc-faq__media {
        height: auto;
        aspect-ratio: 21 / 9;
    }

    .ctc-faq__inner {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .ctc-top__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ctc-offices {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .ctc-top__actions {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ctc-btn,
    .ctc-btn::before,
    .ctc-bar__item,
    .ctc-bar__item::before,
    .ctc-bar__go .icon,
    .ctc-field label,
    .ctc-field::after,
    .ctc-faq__a,
    .ctc-faq__inner,
    .ctc-faq__icon,
    .ctc-faq__media img {
        transition: none;
    }

    .ctc-btn:is(:hover, :focus-visible)::after,
    .ctc-btn:is(:hover, :focus-visible) .icon[data-i="arrow-right"] {
        animation: none;
    }
}

/* Offices by country (2026-11-20): heading row with eyebrow and lead, then
   one card per country: photo (cross-fades per office) with an office count
   and flag, the numbered country name with its phone (or "Email us"), a tab
   row of offices with a sliding underline, and the selected office's
   company, role, address and directions. */
.cof-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: end;
    gap: 20px clamp(32px, 6vw, 110px);
    margin-bottom: 40px;
}

.cof-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-55);
}

.cof-eyebrow b {
    padding-right: 14px;
    border-right: 1px solid var(--line);
    color: var(--blue);
}

.cof-lead {
    max-width: 34em;
    margin-bottom: 8px;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink-70);
}

.cof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.cof {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--white);
    transition: box-shadow .5s var(--ease), transform .5s var(--ease-out), border-color .5s var(--ease);
}

@media (hover: hover) {
    .cof:hover {
        border-color: transparent;
        box-shadow: 0 34px 64px -40px rgba(10, 18, 48, .5);
        transform: translateY(-4px);
    }
}

.cof__media {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: var(--sky);
}

.cof__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .7s var(--ease), transform 1.4s var(--ease-out);
}

.cof__img.is-on {
    opacity: 1;
    transform: none;
}

.cof:hover .cof__img.is-on {
    transform: scale(1.04);
}

.cof__count {
    position: absolute;
    left: 20px;
    bottom: 20px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
}

.cof__flag {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: block;
    width: 30px;
    height: 21px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 14px -6px rgba(0, 0, 0, .5);
}

.cof__flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cof__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 30px 30px;
}

.cof__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cof__country {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 24px;
    font-weight: var(--fw-heading);
    line-height: 1.2;
    letter-spacing: -.015em;
    color: var(--ink);
}

.cof__country b {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--blue);
}

.cof__tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.cof__tel .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
}

.cof__tel:hover {
    color: var(--blue);
}

.cof__tabs {
    display: flex;
    gap: 26px;
    margin-top: 22px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.cof__tabs::-webkit-scrollbar {
    display: none;
}

.cof__tab {
    position: relative;
    flex: none;
    padding: 0 0 14px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-55);
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s var(--ease);
}

.cof__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .45s var(--ease-out);
}

.cof__tab:hover,
.cof__tab.is-active {
    color: var(--ink);
}

.cof__tab.is-active::after {
    transform: scaleX(1);
}

.cof__tab:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.cof__panels {
    display: grid;
    flex: 1;
}

.cof__panel {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    padding-top: 26px;
}

.cof__panel[hidden] {
    display: none;
}

.cof__panel.is-on {
    animation: cof-in .5s var(--ease-out) both;
}

@keyframes cof-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.cof__city {
    font-size: 32px;
    font-weight: var(--fw-heading);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--ink);
}

.cof__co {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-55);
}

.cof__co b {
    font-weight: 500;
    color: var(--blue);
}

.cof__addr {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-70);
}

.cof__go {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.cof__go .icon {
    width: 15px;
    height: 15px;
    color: var(--blue);
    transition: transform .4s var(--ease-out);
}

.cof__go:hover {
    color: var(--blue);
}

.cof__go:hover .icon {
    transform: translate(3px, -3px);
}

@media (max-width: 1099px) {
    .cof-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .cof-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .cof {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }

    .cof__media {
        aspect-ratio: auto;
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .cof {
        display: flex;
    }

    .cof__media {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .cof__body {
        padding: 22px 20px 24px;
    }

    .cof__city {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cof,
    .cof__img,
    .cof__tab::after {
        transition: none;
    }

    .cof__panel.is-on {
        animation: none;
    }
}
