.med-footer {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(75, 201, 233, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 25%),
        linear-gradient(180deg, #006aa3 0%, #005b8e 100%);
    color: #ffffff;
    overflow: hidden;
}

.med-footer .container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

/* TOP CTA */
.med-footer__top {
    padding: 38px 0 0;
}

.med-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.med-footer__badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.med-footer__cta h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
}

.med-footer__cta p {
    margin: 0;
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.med-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    flex-shrink: 0;
}

.med-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
    white-space: nowrap;
}

.med-footer__btn--light {
    background: #ffffff;
    color: #005b8e;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.med-footer__btn--light:hover {
    transform: translateY(-2px);
    background: #f5fbff;
}

.med-footer__btn--outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.med-footer__btn--outline:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.14);
}

/* MAIN */
.med-footer__main {
    padding: 54px 0 26px;
}

.med-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 36px;
}

.med-footer__col h3 {
    margin: 0 0 18px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.med-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.med-footer__col li + li {
    margin-top: 12px;
}

.med-footer__col a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    line-height: 1.6;
    transition: 0.25s ease;
}

.med-footer__col a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.med-footer__logo img {
    max-width: 180px;
    height: auto;
}

.med-footer__brand-text {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.med-footer__desc {
    margin: 18px 0 22px;
    max-width: 380px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.86);
}

.med-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.med-footer__contact-list a,
.med-footer__contact-list span {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 500;
}

/* BOTTOM */
.med-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0 26px;
}

.med-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.med-footer__bottom-inner p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.med-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.med-footer__bottom-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.med-footer__bottom-links a:hover {
    color: #ffffff;
}

.med-footer__main .container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #4BC9E9 rgba(255, 255, 255, 0.12);
}

/* Chrome, Edge, Opera, Safari */
.med-footer__main .container::-webkit-scrollbar {
    height: 10px;
}

.med-footer__main .container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
}

.med-footer__main .container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #4BC9E9 0%, #0071AE 100%);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.10);
}

.med-footer__main .container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #6fdcf5 0%, #0088d1 100%);
}

.med-footer__main .container::-webkit-scrollbar-corner {
    background: transparent;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .med-footer__main .container {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .med-footer__grid {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        gap: 28px;
        min-width: 920px;
    }

    .med-footer__cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .med-footer__main {
        padding: 40px 0 20px;
    }

    .med-footer__main .container {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .med-footer__grid {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        gap: 24px;
        min-width: 920px;
    }

    .med-footer__cta {
        padding: 24px;
        border-radius: 22px;
    }

    .med-footer__cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .med-footer__btn {
        width: 100%;
    }

    .med-footer__bottom-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

