.th-footer,
.th-footer * {
    box-sizing: border-box;
}

.th-footer {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 24px;
    overflow: hidden;
    color: #c9d5e4;
    background:
        linear-gradient(145deg, rgba(8, 31, 58, .98), rgba(5, 20, 40, .99)),
        #071a31;
    font-family: "Tracking Sans", Arial, sans-serif;
}

.th-footer::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .17;
    background-image: url("/image/footerBg.png");
    background-position: center bottom;
    background-size: cover;
}

.th-footer__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}

.th-footer__glow--one {
    top: -250px;
    right: 5%;
    background: radial-gradient(circle, rgba(20, 103, 232, .3), transparent 68%);
}

.th-footer__glow--two {
    bottom: -310px;
    left: -100px;
    background: radial-gradient(circle, rgba(100, 189, 69, .2), transparent 68%);
}

.th-footer__inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.th-footer-cta {
    display: flex;
    min-height: 185px;
    padding: clamp(30px, 4vw, 52px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .13);
    border-top: 0;
    border-radius: 0 0 28px 28px;
    background:
        radial-gradient(circle at 78% 0, rgba(100, 189, 69, .48), transparent 25%),
        linear-gradient(120deg, #126bdc, #0756b8 58%, #06417e);
    box-shadow: 0 25px 60px rgba(0, 10, 28, .26);
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.th-footer__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #cce6ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.th-footer-cta h2 {
    max-width: 700px;
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.08;
}

.th-footer-cta p {
    max-width: 680px;
    margin: 0;
    color: #dcecff;
    font-size: 15px;
}

.th-footer-cta__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.th-footer-button {
    display: inline-flex !important;
    min-height: 48px;
    padding: 0 18px !important;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    text-decoration: none !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.th-footer-button:hover {
    font-size: 13px !important;
    transform: translateY(-2px);
}

.th-footer-button--light {
    color: #0b4f9d !important;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 20, 55, .2);
}

.th-footer-button--outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .08);
}

.th-footer-button--outline:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .16);
}

.th-footer__main {
    display: grid;
    padding: clamp(55px, 7vw, 88px) 4px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    grid-template-columns: minmax(240px, 1.15fr) 3fr;
    gap: clamp(44px, 7vw, 100px);
}

.th-footer__brand > a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
}

.th-footer__brand img {
    display: block;
    width: 205px;
    height: auto;
}

.th-footer__brand p {
    max-width: 380px;
    margin: 22px 0 24px;
    color: #aebed0;
    font-size: 14px;
    line-height: 1.7;
}

.th-footer__social {
    display: flex;
    gap: 9px;
}

.th-footer__social a {
    display: inline-grid;
    width: 40px;
    height: 40px;
    color: #dce8f5 !important;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    text-decoration: none !important;
    place-items: center;
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.th-footer__social a:hover {
    color: #fff !important;
    background: #1467e8;
    transform: translateY(-2px);
}

.th-footer__nav {
    display: grid;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: normal !important;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 26px;
}

.th-footer__nav ul {
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.th-footer__column h3 {
    margin: 2px 0 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.th-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.th-footer__column li {
    float: none !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 12px;
    padding: 0;
    line-height: normal !important;
}

.th-footer__column a {
    position: relative;
    display: inline-block;
    color: #aebed0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}

.th-footer__column a::before {
    position: absolute;
    top: 50%;
    left: -12px;
    width: 5px;
    height: 5px;
    content: "";
    opacity: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #64bd45;
    transition: opacity .2s ease;
}

.th-footer__column a:hover {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    transform: translateX(7px);
}

.th-footer__column a:hover::before {
    opacity: 1;
}

.th-footer__contact {
    display: grid;
    padding: 28px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 24px;
}

.th-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.th-footer__contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    color: #81c9ff;
    border: 1px solid rgba(108, 185, 244, .2);
    border-radius: 12px;
    background: rgba(20, 103, 232, .1);
    place-items: center;
}

.th-footer__contact-icon svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.th-footer__contact-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.th-footer__contact small {
    margin-bottom: 3px;
    color: #758aa2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.th-footer__contact a {
    color: #e8f2fc !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.th-footer__apps {
    display: flex;
    align-items: center;
    gap: 9px;
}

.th-footer__apps > span {
    margin-right: 5px;
    color: #8fa2b7;
    font-size: 11px;
    font-weight: 600;
}

.th-footer__apps a {
    display: inline-flex;
    transition: transform .2s ease;
}

.th-footer__apps a:hover {
    transform: translateY(-2px);
}

.th-footer__apps img {
    display: block;
    width: 105px;
    height: 34px;
}

.th-footer__bottom {
    display: flex;
    min-height: 72px;
    color: #71879f;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.th-footer__bottom p {
    margin: 0;
    color: inherit;
    font-size: 11px;
}

.th-footer a:focus-visible {
    outline: 3px solid rgba(103, 186, 255, .55);
    outline-offset: 3px;
}

@media (max-width: 1050px) {
    .th-footer-cta { align-items: flex-start; flex-direction: column; }
    .th-footer__main { grid-template-columns: 1fr; gap: 48px; }
    .th-footer__brand { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: start; }
    .th-footer__brand p { margin: 0; }
    .th-footer__social { grid-column: 2; }
    .th-footer__contact { grid-template-columns: 1fr 1fr; }
    .th-footer__apps { grid-column: 1 / -1; padding-top: 8px; }
}

@media (max-width: 700px) {
    .th-footer { padding: 0 16px; }
    .th-footer-cta { min-height: 0; border-radius: 0 0 22px 22px; }
    .th-footer-cta__actions { width: 100%; flex-direction: column; align-items: stretch; }
    .th-footer-button { width: 100%; }
    .th-footer__brand { display: block; }
    .th-footer__brand p { margin: 20px 0; }
    .th-footer__nav { grid-template-columns: 1fr 1fr; row-gap: 38px; }
    .th-footer__contact { grid-template-columns: 1fr; }
    .th-footer__apps { grid-column: auto; flex-wrap: wrap; }
    .th-footer__apps > span { width: 100%; }
    .th-footer__bottom { min-height: 92px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}

@media (max-width: 420px) {
    .th-footer { padding: 0 12px; }
    .th-footer-cta { padding: 28px 22px; }
    .th-footer__nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .th-footer * { transition: none !important; }
}
