/* ── Reset ──────────────────────────────────────────────────── */
.ft-root *, .ft-root *::before, .ft-root *::after {
    box-sizing: border-box;
}

/* ── Root ───────────────────────────────────────────────────── */
.ft-root {
    font-family: 'Inter', sans-serif;
    background: #0b1120;
    color: #c8d3e6;
    position: relative;
}

/* ── Main footer ────────────────────────────────────────────── */
.ft-main {
    padding: 70px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

/* Yuqori aksent chiziq */
.ft-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a3a6b 0%, #4d9fff 50%, #1a3a6b 100%);
}

/* 3-ustunli grid */
.ft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* ── Widget sarlavha ────────────────────────────────────────── */
.ft-widget-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #4d9fff;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.ft-widget-title::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: #4d9fff;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Kontakt widget ─────────────────────────────────────────── */
.ft-brand-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    font-weight: 600;
    color: #f0f4ff;
    line-height: 1.45;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ft-contact-item {
    margin-bottom: 18px;
}
.ft-contact-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #4d9fff;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ft-contact-label i {
    font-size: 13px;
}
.ft-contact-val {
    font-size: 13px;
    color: #8fa3c0;
    line-height: 1.75;
}
.ft-contact-val a {
    color: #8fa3c0;
    text-decoration: none;
    transition: color 0.2s;
}
.ft-contact-val a:hover {
    color: #4d9fff;
}
.ft-contact-note {
    font-size: 11px;
    color: #4a5a74;
    margin-top: 2px;
}

/* ── Reytinglar widget ──────────────────────────────────────── */
.ft-ratings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ft-rating-item {
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.25s;
}
.ft-rating-item:hover {
    opacity: 1;
}
.ft-rating-item img {
    display: block;
    border-radius: 6px;
    border: 0;
    width: 88px;
    height: 31px;
}

/* ── Xarita widget ──────────────────────────────────────────── */
.ft-map-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.ft-map-wrap iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
    filter: grayscale(25%) brightness(0.88) contrast(1.05);
    transition: filter 0.3s;
}
.ft-map-wrap:hover iframe {
    filter: grayscale(0%) brightness(1);
}

/* ── Footer bottom bar ──────────────────────────────────────── */
.ft-bottom {
    padding: 18px 0;
    background: #080e1a;
}
.ft-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.ft-copy {
    font-size: 12px;
    color: #3d4f66;
    line-height: 1.6;
}
.ft-copy a {
    color: #3d4f66;
    text-decoration: none;
    transition: color 0.2s;
}
.ft-copy a:hover {
    color: #4d9fff;
}

/* Social links */
.ft-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ft-social-label {
    font-size: 11px;
    color: #3d4f66;
    margin-right: 4px;
}
.ft-soc-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8fa3c0;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.ft-soc-link:hover {
    background: #4d9fff;
    color: #fff;
    border-color: #4d9fff;
    transform: translateY(-3px);
}

/* ── Scroll-to-top ──────────────────────────────────────────── */
.ft-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 42px;
    height: 42px;
    background: #4d9fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(77, 159, 255, 0.4);
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.2s, background 0.2s;
}
.ft-scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}
.ft-scroll-top:hover {
    background: #1a3a6b;
    transform: translateY(-3px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 992px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ft-grid > div:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .ft-grid {
        grid-template-columns: 1fr;
    }
    .ft-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}