/* ==========================================================
   KORNET EXPRESS — GLOBAL COMPACT FOOTER

   Safe to load on the homepage and public inner pages.
   All selectors are prefixed with .kornet-footer to prevent
   collisions with page-specific section and layout rules.
========================================================== */

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

.kornet-footer{
    width:100%;
    min-height:0 !important;
    height:auto !important;
    display:block !important;
    padding:0 !important;
    margin:0;
    color:#fff;
    background:transparent;
    scroll-snap-align:none !important;
}

/* ==========================================================
   MAIN FOOTER BOX
========================================================== */

.kornet-footer__main{
    min-height:0 !important;
    height:auto !important;
    padding:34px 0 24px;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(193,18,31,.12),
            transparent 30%
        ),
        #061b3f;
}

.kornet-footer__inner{
    width:90%;
    max-width:1120px;
    margin:0 auto;
}

.kornet-footer__brand{
    margin:0 0 18px;
}

.kornet-footer__logo{
    display:block;
    width:165px;
    max-width:58vw;
    height:auto;
    margin:0 0 7px;
}

.kornet-footer__slogan{
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:.86rem;
    font-weight:700;
    letter-spacing:.035em;
}

.kornet-footer__details{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:56px;
    align-items:start;
}

.kornet-footer__panel{
    min-width:0;
    min-height:0 !important;
    height:auto !important;
    display:block !important;
    padding:0 !important;
    margin:0;
    scroll-snap-align:none !important;
}

.kornet-footer__panel h2{
    margin:0 0 10px;
    color:#ffffff;
    font-family:"Inter",Arial,sans-serif;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.11em;
    line-height:1.3;
    text-transform:uppercase;
}
.kornet-footer__panel address{
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:.87rem;
    font-style:normal;
    line-height:1.68;
}

.kornet-footer__contact-list{
    margin:0;
    padding:0;
    list-style:none;
}

.kornet-footer__contact-list li{
    display:grid;
    grid-template-columns:84px minmax(0,1fr);
    gap:12px;
    margin:0 0 5px;
    color:rgba(255,255,255,.74);
    font-size:.87rem;
    line-height:1.45;
}

.kornet-footer__contact-list li > span:first-child{
    color:rgba(255,255,255,.48);
    font-weight:700;
}

.kornet-footer__contact-list a{
    color:inherit;
    text-decoration:none;
    transition:color .2s ease;
}

.kornet-footer__contact-list a:hover,
.kornet-footer__contact-list a:focus-visible{
    color:#fff;
}

/* ==========================================================
   ACTION ROW
========================================================== */

.kornet-footer__actions{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:0;
    margin-top:18px;
}

.kornet-footer__back-top{
    flex:0 0 auto;
    margin-left:auto;
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    padding:0;
    color:#fff;
    font:900 1.02rem/1 "Inter",sans-serif;
    border:1px solid rgba(255,255,255,.24);
    border-radius:50%;
    background:rgba(255,255,255,.075);
    cursor:pointer;
    animation:kornet-footer-arrow-float 1.8s ease-in-out infinite;
    transition:background .22s ease,border-color .22s ease;
}

.kornet-footer__back-top:hover,
.kornet-footer__back-top:focus-visible{
    border-color:#c1121f;
    background:#c1121f;
    animation-play-state:paused;
}

@keyframes kornet-footer-arrow-float{
    0%,
    100%{
        opacity:.55;
        transform:translateY(3px);
    }

    50%{
        opacity:1;
        transform:translateY(-4px);
    }
}

/* ==========================================================
   COPYRIGHT FOOTER BOX
========================================================== */

.kornet-footer__end{
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
    background:#020b19;
    border-top:1px solid rgba(255,255,255,.08);
}

.kornet-footer__end-inner{
    width:90%;
    max-width:1120px;
    min-height:48px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.kornet-footer__end p{
    margin:0;
    color:rgba(255,255,255,.56);
    font-size:.76rem;
    letter-spacing:.025em;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:760px){

    .kornet-footer__main{
        padding:30px 0 22px;
    }

    .kornet-footer__details{
        grid-template-columns:1fr;
        gap:22px;
    }

    .kornet-footer__contact-list li{
        grid-template-columns:80px minmax(0,1fr);
    }

    .kornet-footer__actions{
        align-items:flex-end;
    }
.kornet-footer__end-inner{
        min-height:46px;
    }
}

@media(max-width:480px){

    .kornet-footer__logo{
        width:150px;
    }

    .kornet-footer__contact-list li{
        grid-template-columns:1fr;
        gap:1px;
        margin-bottom:9px;
    }
}

@media(prefers-reduced-motion:reduce){

    .kornet-footer__back-top{
        animation:none;
    }
}

/* ==========================================================
   FINAL CASCADE SAFETY LOCK
   Keep this block at the END of Footer.css.
========================================================== */

.kornet-footer{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
    transform:none !important;
    overflow:visible !important;
    isolation:isolate;
}

.kornet-footer__main{
    position:relative !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    display:block !important;
    margin:0 !important;
}

.kornet-footer__inner{
    position:relative !important;
    width:90% !important;
    max-width:1120px !important;
    min-height:0 !important;
    height:auto !important;
    display:block !important;
    margin:0 auto !important;
}

.kornet-footer__brand{
    position:static !important;
    width:100% !important;
    display:block !important;
    float:none !important;
    margin:0 0 18px !important;
    padding:0 !important;
    text-align:left !important;
}

.kornet-footer__logo{
    position:static !important;
    display:block !important;
    float:none !important;
    width:165px !important;
    max-width:58vw !important;
    height:auto !important;
    margin:0 0 7px !important;
    padding:0 !important;
    object-fit:contain !important;
    transform:none !important;
}

.kornet-footer__slogan{
    position:static !important;
    display:block !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
}

.kornet-footer__details{
    position:static !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:start !important;
    justify-items:stretch !important;
    gap:56px !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
}

.kornet-footer__panel{
    position:static !important;
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
    transform:none !important;
    scroll-snap-align:none !important;
}

.kornet-footer__panel h2,
.kornet-footer__panel address,
.kornet-footer__contact-list,
.kornet-footer__contact-list li{
    text-align:left !important;
}

.kornet-footer__actions{
    position:static !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:0 !important;
    margin:18px 0 0 !important;
    padding:0 !important;
    text-align:right !important;
}

.kornet-footer__end{
    position:static !important;
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
}

.kornet-footer__end-inner{
    width:90% !important;
    max-width:1120px !important;
    min-height:48px !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 auto !important;
    padding:0 !important;
    text-align:center !important;
}

.kornet-footer__end p{
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
}

@media(max-width:760px){
    .kornet-footer__details{
        grid-template-columns:1fr !important;
        gap:22px !important;
    }

    .kornet-footer__actions{
        align-items:center !important;
        justify-content:flex-end !important;
    }
}


/* PHASE 1 — COMPACT MOBILE FOOTER */
@media (max-width: 760px) {
    .kornet-footer__main {
        padding: 24px 0 18px !important;
    }

    .kornet-footer__inner {
        width: calc(100% - 32px) !important;
    }

    .kornet-footer__brand {
        margin-bottom: 14px !important;
    }

    .kornet-footer__details {
        gap: 17px !important;
    }

    .kornet-footer__panel h2 {
        margin-bottom: 7px;
    }

    .kornet-footer__actions {
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0 !important;
        margin-top: 15px !important;
    }

    .kornet-footer__back-top {
        align-self: auto;
        margin-left: auto !important;
    }

    .kornet-footer__end-inner {
        min-height: 42px !important;
    }
}

@media (max-width: 480px) {
    .kornet-footer__inner,
    .kornet-footer__end-inner {
        width: calc(100% - 28px) !important;
    }

    .kornet-footer__logo {
        width: 142px !important;
    }
}

/* ==========================================================
   FOOTER ARROW — FINAL RIGHT-CORNER LOCK
   ----------------------------------------------------------
   Keep this block at the absolute bottom of Footer.css.

   The two former footer action buttons were removed.
   The back-to-top button now stays in normal document flow
   at the far-right edge, so it cannot overlap footer content.
========================================================== */

.kornet-footer__actions{
    position:static !important;
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;

    margin:18px 0 0 !important;
    padding:0 !important;
}

.kornet-footer__back-top{
    margin:
        0 0 0 auto !important;
}

@media(max-width:760px){

    .kornet-footer__actions{
        margin-top:20px !important;
    }

}


/* ==========================================================
   FOOTER ARROW — COMPACT DESKTOP CORNER POSITION
   ----------------------------------------------------------
   Removes the dedicated arrow row on desktop and anchors the
   button inside the lower-right corner of the footer content.
========================================================== */

@media (min-width: 761px) {

    .kornet-footer__main {
        padding-bottom: 18px !important;
    }

    .kornet-footer__inner {
        position: relative !important;

        /*
           Reserve only horizontal room for the arrow.
           This prevents overlap without adding vertical space.
        */
        padding-right: 64px !important;
    }

    .kornet-footer__actions {
        position: absolute !important;

        right: 0 !important;
        bottom: 0 !important;

        width: auto !important;
        height: auto !important;
        min-height: 0 !important;

        display: block !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .kornet-footer__back-top {
        margin: 0 !important;
    }

}


/* ==========================================================
   FOOTER ARROW — MOBILE SAFETY
========================================================== */

@media (max-width: 760px) {

    .kornet-footer__inner {
        padding-right: 0 !important;
    }

    .kornet-footer__actions {
        position: static !important;

        width: 100% !important;

        display: flex !important;
        justify-content: flex-end !important;

        margin-top: 18px !important;
    }

}

/* ==========================================================
   FOOTER WEBSITE LINK — MATCH FOOTER TEXT
========================================================== */

.kornet-footer__website {
    color: rgba(255, 255, 255, .72);
}

.kornet-footer__website a,
.kornet-footer__website a:visited {
    color: inherit;
    text-decoration: none;
}

.kornet-footer__website a:hover,
.kornet-footer__website a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================
   GLOBAL FOOTER SCROLL-STABILITY LOCK
   ----------------------------------------------------------
   Keep this block at the absolute bottom of Footer.css.

   The shared Pages.css enables vertical scroll snapping.
   The footer must NOT become a snap destination, otherwise
   browsers may open or settle near the footer unexpectedly.

   FOOTER SCROLL — EDIT HERE
========================================================== */

.kornet-footer {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

/*
   Footer children must also remain outside the page's
   vertical snap sequence.
*/
.kornet-footer__main,
.kornet-footer__inner,
.kornet-footer__details,
.kornet-footer__actions,
.kornet-footer__end,
.kornet-footer__end-inner {s
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

