/* =========================================================
   FIXERA – SERIZENI.CSS
   SPOLEČNÉ STYLY + STRÁNKA SEŘÍZENÍ
   ========================================================= */


/* =========================================================
   01. PROMĚNNÉ
   ========================================================= */

:root {

    --fixera-blue: #123b63;
    --fixera-blue-dark: #0b2d4d;
    --fixera-blue-light: #1c527f;

    --fixera-green: #36b765;
    --fixera-red: #dc4545;

    --text-dark: #1c2733;
    --text: #394653;
    --text-light: #6f7c87;

    --white: #ffffff;
    --light-bg: #f5f7f9;
    --border: #e2e7eb;

    --container-width: 1240px;

    --shadow-small:
        0 5px 20px rgba(15, 39, 62, 0.08);

    --shadow-medium:
        0 12px 35px rgba(15, 39, 62, 0.12);

    --transition:
        0.25s ease;
}


/* =========================================================
   02. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}


body {
    margin: 0;
    padding: 0;

    font-family: "Inter", Arial, sans-serif;

    font-size: 16px;
    line-height: 1.6;

    color: var(--text);

    background: var(--white);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


img {
    display: block;

    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select,
textarea {
    font: inherit;
}


button {
    cursor: pointer;
}


ul,
ol {
    margin: 0;
    padding: 0;

    list-style: none;
}


h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}


/* =========================================================
   03. ZÁKLADNÍ KONTEJNER
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   04. HORNÍ INFORMAČNÍ PRUH
   ========================================================= */

.topbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    min-height: 44px;

    background: var(--fixera-blue-dark);

    color: var(--white);
}


.topbar-inner {

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.topbar-left,
.topbar-right {

    display: flex;

    align-items: center;

    gap: 10px;
}


.topbar-left {

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.2px;
}


.topbar-right {

    font-size: 13px;

    font-weight: 400;
}


.topbar-icon {

    width: 17px;
    height: 17px;

    object-fit: contain;
}


.hotline-label {

    opacity: 0.85;
}


.hotline {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.3px;

    transition:
        opacity var(--transition);
}


.hotline:hover {
    opacity: 0.82;
}


/* =========================================================
   05. STAV INFOLINKY
   ========================================================= */

.hotline-status {

    display: inline-block;

    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background: var(--fixera-red);

    box-shadow:
        0 0 0 3px rgba(220, 69, 69, 0.12);

    transition:
        background-color var(--transition),
        box-shadow var(--transition);
}


.hotline-status.is-open {

    background: var(--fixera-green);

    box-shadow:
        0 0 0 3px rgba(54, 183, 101, 0.14);
}


.hotline-status.is-closed {

    background: var(--fixera-red);

    box-shadow:
        0 0 0 3px rgba(220, 69, 69, 0.12);
}


/* =========================================================
   06. HLAVNÍ HEADER
   ========================================================= */

.main-header {

    position: sticky;

    top: 44px;

    z-index: 999;

    width: 100%;

    background: var(--white);

    border-bottom: 1px solid rgba(18, 59, 99, 0.08);

    box-shadow:
        0 3px 15px rgba(15, 39, 62, 0.04);
}


.header-inner {

    min-height: 94px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


/* =========================================================
   07. LOGO
   ========================================================= */

.logo {

    display: flex;

    align-items: center;

    flex: 0 0 auto;
}


.logo img {

    width: 190px;

    height: auto;

    display: block;

    transition:
        transform var(--transition);
}


.logo:hover img {
    transform: scale(1.02);
}


/* =========================================================
   08. HLAVNÍ NAVIGACE
   ========================================================= */

.main-nav {

    margin-left: auto;
}


.main-nav ul {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 30px;
}


.main-nav li {
    white-space: nowrap;
}


.main-nav a {

    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 44px;

    color: var(--text-dark);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.45px;

    transition:
        color var(--transition);
}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 5px;

    height: 2px;

    background: var(--fixera-blue);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition);
}


.main-nav a:hover {

    color: var(--fixera-blue);
}


.main-nav a:hover::after {

    transform:
        scaleX(1);
}


/* =========================================================
   09. FOCUS – PŘÍSTUPNOST
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {

    outline: 3px solid rgba(28, 82, 127, 0.35);

    outline-offset: 3px;
}


/* =========================================================
   10. ZÁKLADNÍ SEKČNÍ NADPIS
   ========================================================= */

.section-heading {

    margin-bottom: 35px;
}


.section-heading h2 {

    margin-bottom: 12px;

    color: var(--text-dark);

    font-size: clamp(
        28px,
        3vw,
        42px
    );

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -0.8px;
}


.section-heading h2 span {

    color: var(--fixera-blue);
}


.section-heading p {

    max-width: 680px;

    margin-bottom: 0;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.7;
}


.section-subtitle {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--fixera-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.8px;
}


/* =========================================================
   11. KONTAKTNÍ CTA
   ========================================================= */

.contact-cta {

    padding: 70px 0;

    background: var(--fixera-blue);

    color: var(--white);
}


.contact-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.contact-cta-content {

    max-width: 700px;
}


.contact-cta .section-subtitle {

    color: rgba(255, 255, 255, 0.72);
}


.contact-cta h2 {

    margin-bottom: 14px;

    color: var(--white);

    font-size: clamp(
        30px,
        3.5vw,
        44px
    );

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -0.8px;
}


.contact-cta h2 span {

    color: rgba(255, 255, 255, 0.72);
}


.contact-cta p {

    max-width: 600px;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   12. CTA AKCE
   ========================================================= */

.contact-cta-action {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    flex: 0 0 auto;

    gap: 17px;
}


.cta-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 25px;

    border: 2px solid var(--white);

    border-radius: 4px;

    background: var(--white);

    color: var(--fixera-blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.65px;

    transition:
        background-color var(--transition),
        color var(--transition),
        transform var(--transition);
}


.cta-button:hover {

    background: transparent;

    color: var(--white);

    transform: translateY(-2px);
}


.cta-phone {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--white);

    font-size: 14px;

    font-weight: 700;
}


.cta-phone img {

    width: 20px;
    height: 20px;

    object-fit: contain;
}


.cta-phone:hover {

    text-decoration: underline;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.footer {

    padding: 65px 0 0;

    background: var(--fixera-blue-dark);

    color: var(--white);
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        0.9fr
        1fr;

    gap: 50px;

    padding-bottom: 50px;
}


/* =========================================================
   14. FOOTER – ZNAČKA
   ========================================================= */

.footer-brand {

    max-width: 330px;
}


.footer-logo {

    display: inline-block;

    margin-bottom: 20px;
}


.footer-logo img {

    width: 175px;

    height: auto;
}


.footer-brand p {

    margin-bottom: 5px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;

    line-height: 1.6;
}


.footer-brand p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   15. FOOTER – SLOUPCE
   ========================================================= */

.footer-column h3 {

    margin-bottom: 20px;

    color: var(--white);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.footer-column ul {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-column li,
.footer-column a {

    color: rgba(255, 255, 255, 0.65);

    font-size: 12px;

    line-height: 1.5;
}


.footer-column a {

    transition:
        color var(--transition);
}


.footer-column a:hover {

    color: var(--white);
}


/* =========================================================
   16. FOOTER – KONTAKT
   ========================================================= */

.footer-contact {

    min-width: 0;
}


.footer-contact-item {

    display: flex !important;

    align-items: center;

    gap: 11px;

    margin-bottom: 15px;
}


.footer-contact-item img {

    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    object-fit: contain;
}


.footer-contact-item span {

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   17. SPODNÍ LIŠTA FOOTERU
   ========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    min-height: 70px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


.footer-bottom p {

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
}


.footer-bottom-links {

    display: flex;

    align-items: center;

    gap: 25px;
}


.footer-bottom-links a {

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    transition:
        color var(--transition);
}


.footer-bottom-links a:hover {

    color: var(--white);
}


/* =========================================================
   18. RESPONZIVNÍ STYLY
   ========================================================= */


/* =========================================================
   TABLET – DO 1100 PX
   ========================================================= */

@media (max-width: 1100px) {

    .container {

        width: min(
            calc(100% - 40px),
            var(--container-width)
        );
    }


    .header-inner {

        gap: 30px;
    }


    .logo img {

        width: 175px;
    }


    .main-nav ul {

        gap: 20px;
    }


    .main-nav a {

        font-size: 11px;

        letter-spacing: 0.25px;
    }


    .footer-grid {

        grid-template-columns:
            1.3fr
            0.8fr
            0.9fr
            1fr;

        gap: 30px;
    }

}


/* =========================================================
   TABLET – DO 900 PX
   ========================================================= */

@media (max-width: 900px) {

    .topbar-inner {

        gap: 15px;
    }


    .hotline-label {

        display: none;
    }


    .main-header {

        top: 44px;
    }


    .header-inner {

        min-height: 82px;
    }


    .logo img {

        width: 160px;
    }


    .main-nav ul {

        gap: 14px;
    }


    .main-nav a {

        font-size: 10px;
    }


    .contact-cta-inner {

        align-items: flex-start;

        flex-direction: column;
    }


    .contact-cta-action {

        flex-direction: row;

        align-items: center;

        gap: 25px;
    }


    .footer-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px;
    }

}


/* =========================================================
   MOBIL – DO 700 PX
   ========================================================= */

@media (max-width: 700px) {

    .container {

        width: calc(100% - 30px);
    }


    /* TOPBAR */

    .topbar {

        min-height: 40px;
    }


    .topbar-inner {

        min-height: 40px;

        justify-content: space-between;
    }


    .topbar-left {

        font-size: 11px;
    }


    .topbar-right {

        font-size: 12px;
    }


    .hotline {

        font-size: 12px;
    }


    .hotline-status {

        width: 8px;
        height: 8px;

        flex-basis: 8px;
    }


    .topbar-icon {

        width: 15px;
        height: 15px;
    }


    /* HEADER */

    .main-header {

        top: 40px;
    }


    .header-inner {

        min-height: 76px;

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding:
            8px 0;
    }


    .logo img {

        width: 150px;
    }


    .main-nav {

        width: 100%;

        overflow-x: auto;

        scrollbar-width: none;
    }


    .main-nav::-webkit-scrollbar {

        display: none;
    }


    .main-nav ul {

        width: max-content;

        margin:
            0 auto;

        gap: 19px;
    }


    .main-nav a {

        min-height: 30px;

        font-size: 9px;

        letter-spacing: 0.2px;
    }


    .main-nav a::after {

        bottom: 0;

        height: 1px;
    }


    /* CTA */

    .contact-cta {

        padding:
            55px 0;
    }


    .contact-cta-inner {

        gap: 30px;
    }


    .contact-cta h2 {

        font-size: 30px;
    }


    .contact-cta-action {

        width: 100%;

        flex-direction: column;

        align-items: flex-start;

        gap: 17px;
    }


    .cta-button {

        width: 100%;
    }


    /* FOOTER */

    .footer {

        padding-top: 50px;
    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 40px;
    }


    .footer-brand {

        max-width: 100%;
    }


    .footer-logo img {

        width: 160px;
    }


    .footer-bottom {

        min-height: 0;

        padding:
            22px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }


    .footer-bottom-links {

        flex-wrap: wrap;

        gap: 12px 20px;
    }

}


/* =========================================================
   MALÉ MOBILY – DO 480 PX
   ========================================================= */

@media (max-width: 480px) {

    .container {

        width: calc(100% - 24px);
    }


    /* TOPBAR */

    .topbar-left {

        gap: 6px;

        font-size: 9px;
    }


    .topbar-right {

        font-size: 10px;
    }


    .hotline {

        font-size: 10px;

        gap: 5px;
    }


    /* HEADER */

    .header-inner {

        min-height: 73px;
    }


    .logo img {

        width: 140px;
    }


    .main-nav ul {

        gap: 16px;
    }


    .main-nav a {

        font-size: 8px;
    }


    /* NADPISY */

    .section-heading h2 {

        font-size: 27px;
    }


    .section-subtitle {

        font-size: 10px;

        letter-spacing: 1.4px;
    }


    /* CTA */

    .contact-cta h2 {

        font-size: 27px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }

}