.company-countries-page .company-sectors-shell {
    gap: clamp(2.2rem, 4vw, 3.8rem);
}

.company-countries-hero {
    min-height: 390px;
}

.company-countries-visual {
    position: relative;
    min-height: 270px;
    display: grid;
    place-items: center;
}

.company-countries-orbit {
    position: absolute;
    width: min(310px, 95%);
    aspect-ratio: 1;
    border: 1px solid rgba(0, 107, 118, 0.2);
    border-radius: 50%;
}

.company-countries-orbit::before {
    content: "";
    position: absolute;
    inset: 13%;
    border: 1px dashed rgba(0, 107, 118, 0.2);
    border-radius: inherit;
}

.company-countries-globe {
    position: relative;
    z-index: 1;
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    border: 7px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--sectors-cyan), var(--sectors-teal));
    box-shadow: 0 24px 48px rgba(0, 107, 118, 0.25);
    color: #fff;
    font-size: 4rem;
}

.company-countries-count {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: 7%;
    min-width: 92px;
    padding: 0.8rem 1rem;
    border: 5px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    background: var(--sectors-orange);
    box-shadow: 0 16px 30px rgba(137, 80, 29, 0.2);
    color: #fff;
    text-align: center;
}

.company-countries-count strong,
.company-countries-count small {
    display: block;
}

.company-countries-count strong {
    font-size: 1.55rem;
    line-height: 1;
}

.company-countries-count small {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.company-country-directory,
.company-continent-list {
    display: grid;
    gap: 1.6rem;
}

.company-continent {
    display: grid;
    gap: 1.3rem;
    padding: clamp(1.15rem, 2.5vw, 1.8rem);
    border: 1px solid rgba(18, 54, 74, 0.09);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(18, 54, 74, 0.08);
}

.company-continent-heading,
.company-continent-heading > div {
    display: flex;
    align-items: center;
}

.company-continent-heading {
    justify-content: space-between;
    gap: 1rem;
}

.company-continent-heading > div {
    gap: 0.8rem;
}

.company-continent-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(8, 185, 223, 0.12);
    color: var(--sectors-cyan-dark);
}

.company-continent-heading h3 {
    margin: 0;
    color: var(--sectors-navy);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.03em;
}

.company-continent-count {
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 107, 118, 0.08);
    color: var(--sectors-teal);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.company-country-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.company-country-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 155px auto;
    border: 1px solid rgba(18, 54, 74, 0.1);
    border-radius: 20px;
    background: #fff;
    color: var(--sectors-navy);
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(18, 54, 74, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.company-country-card:hover {
    transform: translateY(-4px);
    border-color: rgba(8, 185, 223, 0.38);
    box-shadow: 0 18px 34px rgba(18, 54, 74, 0.14);
}

.company-country-media {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #eef6f7;
}

.company-country-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.company-country-card:hover .company-country-media img {
    transform: scale(1.045);
}

.company-country-fallback {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--sectors-cyan), var(--sectors-teal));
    color: #fff;
    font-size: 1.7rem;
}

.company-country-fallback[hidden] { display: none; }

.company-country-body {
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
}

.company-country-body strong {
    overflow-wrap: anywhere;
    font-size: 1.05rem;
    line-height: 1.25;
}

.company-country-body > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--sectors-cyan-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.company-country-body i { transition: transform 0.2s ease; }
.company-country-card:hover .company-country-body i { transform: translateX(3px); }

.company-country-card:focus-visible {
    outline: 3px solid var(--sectors-orange);
    outline-offset: 4px;
}

@media (max-width: 1050px) {
    .company-country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .company-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-countries-visual { width: min(100%, 370px); margin: 0 auto; }
}

@media (max-width: 520px) {
    .company-continent { border-radius: 22px; }
    .company-continent-heading { align-items: flex-start; }
    .company-country-grid { grid-template-columns: 1fr; }
    .company-country-card { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: minmax(120px, auto); }
}

@media (prefers-reduced-motion: reduce) {
    .company-country-card,
    .company-country-media img,
    .company-country-body i { transition: none; }
}
