:root {
    --ms-red: #BA0000;
    --ms-red-dk: #8e0000;
    --ms-red-lt: #f8e5e5;
    --ms-gray: #6c757d;
    --ms-dark: #1a1a1a;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #222;
    scroll-behavior: smooth;
}

@font-face {
    font-family: "myfont";
    src: url("../font/VAGRoundedLTPro-Bold.woff") format('woff');
    font-weight: bold;
}

a {
    color: var(--ms-red);
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

a.btn:hover {
    text-decoration: none;
}

#mainNav {
    background: #fff;
    border-bottom: 2px solid var(--ms-red);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand .brand-text {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -1px;
    color: var(--ms-red);
}
.navbar-brand .brand-logo {
    background: url("../images/logo-black.png") no-repeat;
    display: inline-block;
    width: 7rem;
    height: 1.85rem;
    background-size: 100% auto;
}
footer .brand-logo {
    background: url("../images/logo-white.png") no-repeat;
    display: inline-block;
    width: 5rem;
    height: 1.32rem;
    background-size: 100% auto;
}

.navbar-brand .brand-text span {
    color: #222;
}

.nav-link {
    font-weight: 500;
    color: #444 !important;
    transition: color .2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--ms-red) !important;
}

.btn-login {
    background: var(--ms-red);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 20px;
    transition: background .2s;
}

.btn-login:hover {
    background: var(--ms-red-dk);
}

/* ── Hero / Carousel ── */
#heroCarousel .carousel-item {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 70% 70%;
}

/*
.slide-bg-1 {
    background: linear-gradient(135deg, #BA0000 0%, #7a0000 100%);
}

.slide-bg-2 {
    background: linear-gradient(135deg, #990000 0%, #5c0000 100%);
}

.slide-bg-3 {
    background: linear-gradient(135deg, #7a0000 0%, #BA0000 60%, #c72020 100%);
}
*/
.slide-bg-1 {
    background: linear-gradient(100deg, #7a0000 0%, #BA0000 0%, #c72020 100%);
}
.slide-bg-2 {
    background: linear-gradient(125deg, #7a0000 0%, #BA0000 25%, #c72020 100%);
}
.slide-bg-3 {
    background: linear-gradient(150deg, #7a0000 0%, #BA0000 50%, #c72020 100%);
}
.slide-bg-4 {
    background: linear-gradient(150deg, #7a0000 0%, #BA0000 75%, #c72020 100%);
}



.carousel-caption-custom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    text-align: left;
    color: #fff;
    padding: 60px 0;
}

.carousel-caption-custom h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.carousel-caption-custom p {
    font-size: 1.15rem;
    opacity: .9;
    max-width: 520px;
    margin-bottom: 1.8rem;
}

.carousel-caption-custom .badge-pill {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.slide-graphic {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(6px);
}

.slide-stat {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.slide-stat-label {
    font-size: .8rem;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 3px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0);
    background-color: rgba(0, 0, 0, .35);
    border-radius: 50%;
    padding: 20px;
}

#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
}

#heroCarousel .carousel-indicators button.active {
    background: #fff;
}


.section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.section:nth-child(even) {
    background-color: #f9f9f9;
}

/* ── Section titles ── */
.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ms-red);
    margin-bottom: .4rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ms-dark);
}

.divider-red {
    width: 48px;
    height: 4px;
    background: var(--ms-red);
    border-radius: 2px;
    margin: 1rem 0 1.8rem;
}

/* ── Feature cards ── */
.feature-card {
    border: 1.5px solid #eee;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    background: #fff;
}

.feature-card:hover {
    border-color: var(--ms-red);
    box-shadow: 0 8px 32px rgba(186, 0, 0, .1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--ms-red-lt);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--ms-red);
    margin-bottom: 1.2rem;
    transition: background .25s;
}

.feature-card:hover .feature-icon {
    background: var(--ms-red);
    color: #fff;
}

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .6rem;
    color: var(--ms-dark);
}

.feature-card p {
    font-size: .9rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

.feature-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ms-red);
    background: var(--ms-red-lt);
    border-radius: 50px;
    padding: 2px 10px;
    margin-bottom: .7rem;
}

/* ── How it works flow ── */
.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.flow-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--ms-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
}

.flow-content h6 {
    font-weight: 700;
    margin-bottom: .25rem;
}

.flow-content p {
    font-size: .88rem;
    color: #666;
    margin: 0;
}

/* ── Courier logos ── */
.courier-card {
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 120px;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}

.courier-card:hover {
    border-color: var(--ms-red);
    box-shadow: 0 4px 18px rgba(186, 0, 0, .1);
}

.courier-logo {
    width: 100%;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: center no-repeat;
    background-size: 100% auto;
    border-radius: 5px;
    overflow: hidden;
}

.courier-ceska-posta {
    background-image: url('../images/courier/ceska-posta.png');
}

.courier-dpd {
    background-image: url('../images/courier/dpd.png');
}

.courier-gls {
    background-image: url('../images/courier/gls.png');
}

.courier-zasilkovna {
    background-image: url('../images/courier/zasilkovna.png');
}

.courier-ppl {
    background-image: url('../images/courier/ppl.png');
}

.courier-one-by-allegro {
    background-image: url('../images/courier/one-by-allegro.png');
}

.courier-osobni-odber {
    background-image: url('../images/courier/osobni-odber.png');
}


.courier-card span {
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}



/* ── Reference accordion ── */

.reference-card {
    border: 1.5px solid #eee;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 120px;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.reference-card span {
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.reference-logo {
    width: 100%;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: center no-repeat;
    background-size: 100% auto;
    border-radius: 5px;
    overflow: hidden;
}
.reference-chlazena {
    background-image: url('../images/reference/chlazena.png');
}
.reference-mailstep {
    background-image: url('../images/reference/mailstep.png');
}
.reference-mailfinish {
    background-image: url('../images/reference/mailfinish.png');
}
.reference-pns {
    background-image: url('../images/reference/pns.png');
}
.reference-zadak-stav {
    background-image: url('../images/reference/zadak-stav.png');
}





/* ── FAQ accordion ── */
.accordion-button:not(.collapsed) {
    background: var(--ms-red-lt);
    color: var(--ms-red);
    box-shadow: none;
    font-weight: 700;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(186, 0, 0, .2);
}

.accordion-button::after {
    filter: invert(0);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

/* ── Contact ── */


h5.mikropost{
    background: url(../images/mikropost.png) no-repeat right center;
    background-size: 80px 45px;
    padding: 10px 0;
}

.contact-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 16px;
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.1rem;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: var(--ms-red-lt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ms-red);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-item p {
    margin: 0;
    font-size: .92rem;
    color: #444;
}

.contact-item strong {
    font-size: .95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--ms-red);
    box-shadow: 0 0 0 3px rgba(186, 0, 0, .15);
}

.btn-primary-ms {
    background: var(--ms-red);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: .65rem 2rem;
    border-radius: 10px;
    transition: background .2s;
}

.btn-primary-ms:hover {
    background: var(--ms-red-dk);
    color: #fff;
}

/* ── Footer ── */
footer {
    background: var(--ms-dark);
    color: #aaa;
    padding: 2.5rem 0 1.5rem;
}

footer .brand-text {
    color: #fff;
}

footer a {
    color: #aaa;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

footer .footer-divider {
    border-color: #666;
    margin: 1.5rem 0;
}

/* ── Misc ── */
section {
    scroll-margin-top: 72px;
}

.bg-red-section {
    background: var(--ms-red);
    color: #fff;
}

.bg-red-section .section-title {
    color: #fff;
}

.bg-red-section .divider-red {
    background: rgba(255, 255, 255, .5);
}

@media (max-width: 767px) {
    .slide-graphic {
        display: none;
    }

    .carousel-caption-custom {
        padding: 40px 0;
    }
}

.form-control::placeholder {
    color: #666;
    opacity: .5;
}

