/* Footer — Dark Sapphire Luxury */
.foot {
    position: relative;
    background: linear-gradient(175deg, #030810 0%, #061220 45%, #081a2e 100%);
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(201, 169, 110, 0) 10%,
        rgba(232, 201, 138, 0.8) 40%,
        #ffe2a6 50%,
        rgba(232, 201, 138, 0.8) 60%,
        rgba(201, 169, 110, 0) 90%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(232, 201, 138, 0.5),
        0 0 20px rgba(201, 169, 110, 0.3);
    background-size: 200% 100%;
    animation: foot-line-shimmer 4s ease-in-out infinite;
    z-index: 10;
}

.foot::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 45% at 50% -10%, rgba(29, 78, 216, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 35% at 90% 90%, rgba(12, 74, 110, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.foot .wrap {
    position: relative;
    z-index: 1;
}

.foot .wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(30, 64, 175, 0.03) 44%,
        rgba(59, 130, 246, 0.07) 50%,
        rgba(30, 64, 175, 0.03) 56%,
        transparent 62%
    );
    background-size: 250% 100%;
    animation: foot-sweep-shimmer 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes foot-line-shimmer {
    0%, 100% { background-position: 0% 0; opacity: 0.7; }
    50% { background-position: 100% 0; opacity: 1; }
}

@keyframes foot-sweep-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

@keyframes sapphire-text-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.foot__main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 56px;
    padding: 56px 0 44px;
}

.foot__brand {
    padding-left: 18px;
    border-left: 1px solid rgba(37, 99, 235, 0.2);
    transition: border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.foot__brand:hover {
    border-left-color: rgba(59, 130, 246, 0.65);
    box-shadow: -12px 0 32px -10px rgba(29, 78, 216, 0.45);
}

.foot__logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: none;
    margin-bottom: 16px;
    color: transparent;
    background: linear-gradient(
        110deg,
        #0ea5e9 0%,
        #7dd3fc 25%,
        #ffffff 50%,
        #7dd3fc 75%,
        #0ea5e9 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: sapphire-text-shimmer 6s linear infinite;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.25));
    transition: filter 0.4s var(--ease-out);
}

.foot__brand:hover .foot__logo {
    filter: drop-shadow(0 4px 18px rgba(14, 165, 233, 0.5));
}

.foot__logo span {
    font-weight: 300;
    color: inherit;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: none;
    filter: none;
}

.foot__desc {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    max-width: 280px;
    font-weight: 400;
    transition: color 0.4s var(--ease-out);
}

.foot__brand:hover .foot__desc {
    color: #bae6fd;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.foot__col {
    padding-left: 18px;
    border-left: 1px solid rgba(37, 99, 235, 0.15);
    transition: border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.4s var(--ease-out);
}

.foot__col:hover {
    border-left-color: rgba(59, 130, 246, 0.65);
    box-shadow: -12px 0 32px -10px rgba(29, 78, 216, 0.45);
    transform: translateY(-1px);
}

.foot__title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
    transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), text-shadow 0.45s var(--ease-out);
}

.foot__col:hover .foot__title {
    color: #38bdf8;
    border-bottom-color: rgba(56, 189, 248, 0.4);
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.foot__links,
.foot__contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.foot__links a,
.foot__contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 2px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.foot__links a::before,
.foot__contact a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #38bdf8;
    border-right: 1.5px solid #38bdf8;
    transform: rotate(45deg) translateX(-6px) scale(0.7);
    flex-shrink: 0;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
    margin-right: -4px;
}

.foot__links a:hover,
.foot__contact a:hover {
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
    transform: translateX(3px);
}

.foot__links a:hover::before,
.foot__contact a:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(0) scale(1);
    margin-right: 2px;
}

.foot__contact li {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.01em;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.foot__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 max(28px, var(--safe-bottom));
    border-top: 1px solid rgba(37, 99, 235, 0.12);
    flex-wrap: wrap;
    transition: border-color 0.45s var(--ease-out);
}

.foot__bottom:hover {
    border-top-color: rgba(59, 130, 246, 0.28);
}

.foot__copy {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.45s var(--ease-out), text-shadow 0.45s var(--ease-out);
}

.foot__bottom:hover .foot__copy {
    color: #93c5fd;
    text-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
}

.foot__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

.foot__legal a {
    position: relative;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 4px 0 4px 12px;
    border-left: 1px solid rgba(37, 99, 235, 0.15);
    transition: color 0.45s var(--ease-out), text-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}

.foot__legal a:hover {
    color: #38bdf8;
    border-left-color: rgba(56, 189, 248, 0.6);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.foot__legal a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 0;
    bottom: 0;
    width: auto;
    height: 1px;
    background: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.foot__legal a:hover::after {
    transform: scaleX(1);
}

@media (hover: none) and (pointer: coarse) {
    .foot__col:hover { transform: none; box-shadow: none; }
    .foot__links a:hover,
    .foot__contact a:hover { transform: none; text-shadow: none; filter: none; }
    .foot__brand:hover { box-shadow: none; }
    .foot__legal a:hover { box-shadow: none; filter: none; }
    .foot__col:hover .foot__links a,
    .foot__col:hover .foot__contact a { text-shadow: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
    .foot::before,
    .foot .wrap::before,
    .foot__logo span,
    .foot__col:hover .foot__title,
    .foot__links a:hover,
    .foot__contact a:hover,
    .foot__legal a:hover {
        animation: none;
    }
}
