/* Common site footer */
.cc-site-footer {
    --cc-footer-bg: #071a45;
    --cc-footer-bg-deep: var(--cc-navy);
    --cc-footer-text: rgba(255, 255, 255, 0.9);
    --cc-footer-muted: rgba(255, 255, 255, 0.72);
    --cc-footer-line: rgba(255, 255, 255, 0.14);
    --cc-footer-gold: var(--cc-gold);
    position: relative;
    margin-top: 0;
    overflow: hidden;
    background: var(--cc-deep);
    color: var(--cc-footer-text);
    font-family: var(--cc-font);
}

.cc-site-footer::before {
    content: none;
}

.cc-site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 3.5rem 0 0;
}

.cc-footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
    column-gap: 2.25rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--cc-footer-line);
}

.cc-footer-stack {
    display: flex;
    flex-direction: column;
    gap: 2.15rem;
    min-width: 0;
}

.cc-footer-logo {
    display: inline-block;
    margin-bottom: 0.95rem;
}

.cc-footer-tagline {
    margin: 0 0 1.15rem;
    max-width: 16.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}

.cc-footer-logo img {
    display: block;
    height: 68px;
    width: auto;
    max-width: min(300px, 100%);
    object-fit: contain;
}

.cc-footer-contact {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.9rem;
    word-break: break-word;
}

.cc-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.cc-footer-contact i {
    flex: 0 0 auto;
    width: 1rem;
    margin-top: 0.15rem;
    color: var(--cc-footer-gold);
    font-size: 0.85rem;
    text-align: center;
}

.cc-footer-contact a {
    color: #fff;
    text-decoration: none;
}

.cc-footer-contact a:hover {
    color: var(--cc-footer-gold);
}

.cc-footer-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.05rem;
    padding-bottom: 0.65rem;
    border: 0;
    font-family: var(--cc-font);
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.cc-footer-heading i {
    color: var(--cc-footer-gold);
    font-size: 0.95rem;
}

.cc-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.4rem;
    height: 2px;
    background: var(--cc-footer-gold);
}

.cc-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.cc-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cc-footer-text);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.4;
    transform: translateX(0);
    transition: color 0.2s ease, transform 0.2s ease;
}

.cc-footer-links a::before {
    content: "›";
    flex: 0 0 auto;
    width: 0.7em;
    color: var(--cc-footer-gold);
    font-weight: 700;
    line-height: 1;
}

.cc-footer-links a:hover,
.cc-footer-links a.is-active {
    color: var(--cc-footer-gold);
    transform: translateX(0.35rem);
}



.cc-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 1.35rem 1.25rem;
    background: linear-gradient(180deg, #081c4d 0%, #07183f 100%);
    font-size: 0.9rem;
}

.cc-footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    margin-bottom: 1.1rem;
}

.cc-footer-badges a {
    display: inline-flex;
    line-height: 0;
    text-decoration: none;
}

.cc-footer-badges img {
    display: block;
    height: 38px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cc-footer-social-wrap {
    position: relative;
    width: max-content;
    max-width: 100%;
}

.cc-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cc-footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: #1d4ed8;
    font-size: 0.82rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.cc-footer-social a:hover {
    transform: translateY(-2px);
}

.cc-footer-social a.is-facebook { background: #1877f2; }
.cc-footer-social a.is-instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.cc-footer-social a.is-youtube { background: #ff0000; }
.cc-footer-social a.is-linkedin { background: #0a66c2; }
.cc-footer-social a.is-x { background: #111827; }

.cc-footer-follow {
    position: relative;
    display: inline-block;
    margin: 0 0 0.15rem 0.15rem;
    margin-top: 4rem;
    color: var(--cc-footer-gold);
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 1.55rem;
    line-height: 1;
}

.cc-footer-follow span {
    display: inline-block;
    transform: rotate(-8deg);
    transform-origin: left center;
}

.cc-footer-follow svg {
    position: absolute;
    left: 8rem;
    bottom: 2rem;
    width: 40px;
    height: 28px;
    pointer-events: none;
}

.cc-footer-copy {
    margin: 0;
    text-align: center;
    color: var(--cc-footer-muted);
    line-height: 1.55;
}

.cc-footer-copy a {
    color: var(--cc-footer-gold);
    text-decoration: none;
    font-weight: 600;
}

.cc-footer-copy a:hover {
    text-decoration: underline;
}

.cc-back-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--cc-footer-gold);
    color: #fff;
    box-shadow: 0 8px 24px rgba(10, 33, 79, 0.28);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cc-back-top:hover {
    transform: translateY(-2px);
}

.cc-back-top[hidden] {
    display: none !important;
}

.cc-form-toast {
    position: fixed;
    left: 50%;
    bottom: 1.4rem;
    z-index: 5000;
    max-width: min(420px, calc(100% - 2rem));
    transform: translateX(-50%);
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    background: #b91c1c;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.cc-form-toast[hidden] {
    display: none !important;
}

.cc-form-end {
    text-align: center;
    padding: 0.35rem 0 0.15rem;
}

.cc-form-end__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
}

.cc-form-end.is-success .cc-form-end__icon {
    background: #ecfdf5;
    color: #059669;
}

.cc-form-end.is-error .cc-form-end__icon {
    background: #fef2f2;
    color: #b91c1c;
}

.cc-form-end__text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.cc-form-end.is-success .cc-form-end__text {
    color: inherit;
}

.cc-form-end.is-error .cc-form-end__text {
    color: #fecaca;
}

.adm-form-card .cc-form-end.is-error .cc-form-end__text {
    color: #b91c1c;
}

.cc-form-end__ref {
    margin: 1rem 0 0;
}

.cc-form-end__ref-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.72;
}

.cc-form-end__ref-num {
    display: block;
    margin-top: 0.2rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    font-variant-numeric: tabular-nums;
}

.cc-form-end__timer {
    margin: 0.85rem 0 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.cc-form-end__again,
.cc-form-end__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-top: 1.1rem;
    border: 0;
    border-radius: 999px;
    padding: 0 1.2rem;
    background: var(--cc-gold);
    color: #fff;
    font-family: var(--cc-font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.cc-form-end__again:hover,
.cc-form-end__download:hover {
    background: var(--cc-gold);
    box-shadow: 0 6px 18px rgba(10, 33, 79, 0.18);
}

.cc-form-end__download {
    margin-right: 0.6rem;
}

.cc-form-end__note {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cc-form-end__again[hidden],
.cc-form-end__timer[hidden] {
    display: none !important;
}

form.is-submitted {
    align-self: start;
    height: auto;
}

form.is-submitted > :not(.cc-form-end) {
    display: none !important;
}

@media (max-width: 992px) {
    .cc-footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 1.75rem;
        row-gap: 2.15rem;
    }

    .cc-footer-grid > .cc-footer-stack:first-child {
        grid-column: 1 / -1;
        margin-bottom: 1.35rem;
    }

    .cc-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-right: 0;
    }

    .cc-footer-brand .cc-footer-contact,
    .cc-footer-brand .cc-footer-badges,
    .cc-footer-brand .cc-footer-social {
        justify-content: center;
    }

    .cc-footer-brand .cc-footer-contact {
        justify-items: center;
    }

    .cc-footer-social-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cc-footer-follow {
        align-self: flex-end;
        margin-top: 4rem;
        margin-right: 0.35rem;
        padding-right: 3rem;
    }
}

@media (max-width: 640px) {
    .cc-site-footer__inner {
        width: min(100% - 1.5rem, 1180px);
        padding-top: 2.75rem;
        padding-bottom: 0;
    }

    .cc-footer-grid > .cc-footer-stack:first-child {
        margin-bottom: 1.75rem;
    }

    .cc-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
        column-gap: 1.25rem;
        row-gap: 1.75rem;
    }

    .cc-footer-heading {
        font-size: 1.05rem;
    }

    .cc-footer-links a,
    .cc-footer-contact {
        font-size: 0.86rem;
    }

    .cc-footer-logo img {
        height: 56px;
        max-width: min(280px, 100%);
    }
}

.cc-media-skel {
    background: linear-gradient(90deg, #e7edf6 25%, #f8fafc 37%, #e7edf6 63%);
    background-size: 400% 100%;
    animation: cc-skel 1.15s ease infinite;
}

.cc-media-skel.is-ready {
    animation: none;
    background: transparent;
}

@keyframes cc-skel {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}
