/* ==========================================================
   SAFEMAX
   GLAVNI CSS
   ========================================================== */


:root {
    --yellow: #f4c318;
    --yellow-hover: #ffd329;

    --black: #07090b;
    --dark: #0c0f12;
    --dark-2: #111519;
    --dark-3: #171c21;

    --white: #ffffff;

    --text: #d4d8dc;
    --muted: #929aa1;

    --border: rgba(255, 255, 255, 0.10);
}


/* ==========================================================
   RESET
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: var(--black);
    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ==========================================================
   HEADER
   ========================================================== */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 34px;
}


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}


.brand-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: var(--yellow);

    color: #111;

    font-size: 18px;
    font-weight: 900;
}


.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.brand-text strong {
    font-size: 20px;

    letter-spacing: .7px;
}


.brand-text strong span {
    color: var(--yellow);
}


.brand-text small {
    margin-top: 6px;

    color: #aeb4b9;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


/* NAV */

.nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 27px;
}


.nav a {
    color: #d7dade;

    font-size: 12px;
    font-weight: 700;

    transition: .2s ease;
}


.nav a:hover {
    color: var(--yellow);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.16);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--yellow);
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-cta {
    display: none;
}


/* HEADER BUTTON */

.header-btn {
    padding: 14px 21px;

    background: var(--yellow);

    color: #151515;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    transition: .2s ease;
}


.header-btn:hover {
    background: var(--yellow-hover);
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.btn {
    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    transition: .2s ease;
}


.btn-yellow {
    background: var(--yellow);

    color: #111;
}


.btn-yellow:hover {
    background: var(--yellow-hover);

    transform: translateY(-2px);
}


.btn-outline {
    border:
        1px solid rgba(255,255,255,.35);

    color: #fff;
}


.btn-outline:hover {
    border-color: var(--yellow);

    color: var(--yellow);
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    min-height: 790px;

    position: relative;

    display: flex;
    align-items: stretch;

    background:
        linear-gradient(
            90deg,
            rgba(5,7,9,.98) 0%,
            rgba(5,7,9,.93) 25%,
            rgba(5,7,9,.76) 43%,
            rgba(5,7,9,.25) 67%,
            rgba(5,7,9,.06) 100%
        ),
        url("images/safemax-hero.png");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


.hero-shade {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(5,7,9,.92) 0%,
            transparent 24%
        );

    pointer-events: none;
}


.hero-inner {
    position: relative;

    z-index: 2;

    display: flex;
    align-items: center;

    padding-top: 80px;
    padding-bottom: 100px;
}


.hero-content {
    width: 590px;

    margin-left: 28px;
}


.eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 23px;

    color: var(--yellow);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


.eyebrow span {
    display: block;

    width: 30px;
    height: 2px;

    background: var(--yellow);
}


.hero h1 {
    max-width: 620px;

    font-size: clamp(45px, 4.5vw, 66px);

    line-height: .98;

    letter-spacing: -2px;

    font-weight: 900;

    text-transform: uppercase;
}


.hero h1 em {
    display: block;

    margin-top: 5px;

    color: var(--yellow);

    font-style: normal;
}


.hero-description {
    max-width: 555px;

    margin-top: 24px;

    color: #c3c8cc;

    font-size: 14px;

    line-height: 1.8;
}


.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 29px;
}


/* ==========================================================
   BENEFITS
   ========================================================== */

.benefits {
    position: absolute;

    z-index: 3;

    left: 0;
    bottom: 0;

    width: 100%;

    background:
        rgba(10,13,16,.77);

    backdrop-filter: blur(9px);

    border-top:
        1px solid var(--border);
}


.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.benefit {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border-right:
        1px solid var(--border);
}


.benefit:first-child {
    border-left:
        1px solid var(--border);
}


.benefit-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(244,195,24,.32);

    color: var(--yellow);

    font-weight: 900;
}


.benefit strong,
.benefit span {
    display: block;
}


.benefit strong {
    font-size: 13px;
}


.benefit span {
    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;
}


/* ==========================================================
   GENERAL SECTIONS
   ========================================================== */

.section {
    padding: 105px 0;
}


.section-intro {
    max-width: 680px;

    margin-bottom: 52px;
}


.section-label {
    display: block;

    margin-bottom: 17px;

    color: #a27f00;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}


.section-intro h2,
.process-heading h2 {
    color: #171b20;

    font-size:
        clamp(37px, 4vw, 56px);

    line-height: 1.04;

    letter-spacing: -2px;
}


.section-intro h2 span,
.process-heading h2 span {
    color: #b68e00;
}


.section-intro p,
.process-heading p {
    margin-top: 20px;

    color: #697078;

    font-size: 15px;

    line-height: 1.8;
}


/* ==========================================================
   SOLUTIONS
   ========================================================== */

.solutions {
    background: #f4f5f3;

    color: #15191d;
}


.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border:
        1px solid #d9dcdd;
}


.solution-card {
    position: relative;

    min-height: 330px;

    padding: 35px 28px;

    background: #fff;

    border-right:
        1px solid #d9dcdd;

    transition: .25s ease;
}


.solution-card:last-child {
    border-right: 0;
}


.solution-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 35px rgba(0,0,0,.09);

    z-index: 2;
}


.card-number {
    position: absolute;

    right: 20px;
    top: 16px;

    color: #e2e4e5;

    font-size: 35px;
    font-weight: 900;
}


.card-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin-bottom: 31px;

    background: var(--yellow);

    color: #111;

    font-size: 25px;
    font-weight: 900;
}


.solution-card h3 {
    margin-bottom: 13px;

    font-size: 21px;
}


.solution-card p {
    min-height: 94px;

    color: #6e7479;

    font-size: 13px;

    line-height: 1.75;
}


.solution-card a {
    color: #8b6c00;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .4px;
}


/* ==========================================================
   SERVICES
   ========================================================== */

.services {
    background: var(--dark);
}


.section-intro.light h2 {
    color: #fff;
}


.section-intro.light h2 span {
    color: var(--yellow);
}


.section-intro.light p {
    color: #a8afb5;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--border);
}


.service {
    padding: 38px 27px;

    border-right:
        1px solid var(--border);
}


.service:first-child {
    border-left:
        1px solid var(--border);
}


.service > span {
    color: var(--yellow);

    font-size: 11px;
    font-weight: 900;
}


.service h3 {
    margin: 17px 0 13px;

    font-size: 20px;
}


.service p {
    color: #929aa1;

    font-size: 13px;

    line-height: 1.75;
}


/* ==========================================================
   PROCESS
   ========================================================== */

.process {
    background: #f4f5f3;
}


.process-layout {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 100px;
}


.process-heading {
    align-self: start;
}


.process-heading .btn {
    margin-top: 28px;
}


.steps {
    border-top:
        1px solid #d4d7d9;
}


.step {
    display: grid;

    grid-template-columns:
        70px 1fr;

    gap: 18px;

    padding: 27px 0;

    border-bottom:
        1px solid #d4d7d9;
}


.step > span {
    color: #b38b00;

    font-size: 13px;
    font-weight: 900;
}


.step h3 {
    margin-bottom: 7px;

    color: #1b2024;

    font-size: 18px;
}


.step p {
    color: #70777d;

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================================
   AKCIJA 680
   ========================================================== */

.promo-section {
    position: relative;

    overflow: hidden;

    padding: 105px 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(244,195,24,.11),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #0b0e11 0%,
            #151a1f 55%,
            #090b0d 100%
        );

    color: #fff;
}


.promo-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        rgba(255,255,255,.08);
}


.promo-section::after {
    content: "S";

    position: absolute;

    right: 2%;
    top: 50%;

    transform:
        translateY(-50%);

    color:
        rgba(244,195,24,.025);

    font-size: 520px;
    font-weight: 900;

    line-height: 1;

    pointer-events: none;
}


.promo-wrap {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    align-items: center;

    gap: 85px;
}


.promo-content {
    max-width: 680px;
}


.promo-badge {
    display: inline-flex;

    padding: 8px 13px;

    margin-bottom: 28px;

    background: var(--yellow);

    color: #111;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.8px;
}


.promo-overline {
    margin-bottom: 12px;

    color: #8e979f;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.promo-content h2 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(53px, 6vw, 80px);

    line-height: .92;

    letter-spacing: -4px;

    font-weight: 900;
}


.promo-content h2 span {
    color: var(--yellow);
}


.promo-lead {
    max-width: 590px;

    margin-top: 26px;

    color: #b7bec4;

    font-size: 15px;

    line-height: 1.8;
}


.promo-features {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 35px;

    border-top:
        1px solid rgba(255,255,255,.10);

    border-bottom:
        1px solid rgba(255,255,255,.10);
}


.promo-feature {
    padding: 19px 20px 19px 0;

    border-right:
        1px solid rgba(255,255,255,.10);
}


.promo-feature:nth-child(2),
.promo-feature:nth-child(3) {
    padding-left: 20px;
}


.promo-feature:last-child {
    border-right: 0;
}


.promo-feature strong {
    display: block;

    color: #fff;

    font-size: 14px;
}


.promo-feature span {
    display: block;

    margin-top: 4px;

    color: #7f888f;

    font-size: 10px;
}


.promo-buttons {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-top: 34px;
}


.promo-phone {
    color: #d1d6da;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    transition: .2s ease;
}


.promo-phone:hover {
    color: var(--yellow);
}


/* PRICE BOX */

.promo-price-box {
    position: relative;

    padding: 62px 35px 40px;

    text-align: center;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(244,195,24,.30);
}


.promo-price-box::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: 90px;
    height: 4px;

    transform:
        translateX(-50%);

    background: var(--yellow);
}


.promo-price-label {
    display: block;

    margin-bottom: 15px;

    color: #929aa1;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.3px;
}


.promo-price {
    color: var(--yellow);

    font-size:
        clamp(82px, 8vw, 118px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -7px;
}


.promo-price > span {
    margin-left: 5px;

    font-size: .42em;

    letter-spacing: -2px;

    vertical-align: top;
}


.promo-complete {
    display: block;

    margin-top: 19px;

    color: #fff;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 4px;
}


.promo-price-box > p {
    max-width: 270px;

    margin:
        17px auto 0;

    color: #858e95;

    font-size: 11px;

    line-height: 1.65;
}


.promo-guarantee {
    margin-top: 27px;

    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,.10);

    color: #c8cdd1;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


/* ==========================================================
   REFERENCES
   ========================================================== */

.references {
    background: #fff;
}


.reference-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.reference-placeholder {
    aspect-ratio: 4 / 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(10,13,16,.76),
            rgba(10,13,16,.76)
        ),
        #252a2f;

    border-bottom:
        4px solid var(--yellow);
}


.reference-placeholder > span {
    color: #fff;

    font-size: 24px;
    font-weight: 900;
}


.reference-placeholder > span span {
    color: var(--yellow);
}


.reference-placeholder small {
    margin-top: 8px;

    color: #929aa1;

    font-size: 9px;

    letter-spacing: 1.5px;
}


/* ==========================================================
   CONTACT
   ========================================================== */

.contact {
    padding: 85px 0;

    background: #101418;

    border-top:
        1px solid var(--border);
}


.contact-inner {
    display: grid;

    grid-template-columns:
        1.4fr .6fr;

    gap: 70px;

    align-items: center;
}


.contact h2 {
    font-size:
        clamp(35px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.contact h2 span {
    color: var(--yellow);
}


.contact p {
    max-width: 600px;

    margin-top: 19px;

    color: #9ca3a9;
}


.contact-actions {
    display: flex;
    flex-direction: column;

    align-items: stretch;
}


.phone-main {
    padding-bottom: 14px;

    margin-bottom: 11px;

    border-bottom:
        1px solid var(--border);
}


.phone-main small {
    display: block;

    color: #8e969c;

    font-size: 9px;

    letter-spacing: 1.5px;
}


.phone-main strong {
    display: block;

    margin-top: 3px;

    color: #fff;

    font-size: 28px;
}


.phone-second {
    margin-bottom: 19px;

    color: #aab0b5;

    font-size: 15px;
}


.contact-actions .btn {
    width: 100%;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    padding: 35px 0;

    background: #07090b;

    border-top:
        1px solid var(--border);
}


.footer-inner {
    display: flex;
    align-items: center;

    gap: 35px;
}


.footer p {
    color: #777f85;

    font-size: 11px;
}


.copyright {
    margin-left: auto;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1050px) {

    .header {
        position: absolute;
    }


    .header-inner {
        position: relative;
    }


    .menu-toggle {
        display: block;
        position: relative;
        z-index: 32;
    }


    .nav {
        position: absolute;
        z-index: 30;
        top: 88px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin-left: 0;
        padding: 10px 0 16px;

        background: rgba(7,9,11,.98);
        border-top: 1px solid rgba(255,255,255,.08);
        border-bottom: 1px solid rgba(244,195,24,.28);
        box-shadow: 0 18px 35px rgba(0,0,0,.35);
    }


    .nav.is-open {
        display: flex;
    }


    .nav a {
        display: block;
        padding: 14px 22px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }


    .nav a:last-child {
        border-bottom: 0;
    }


    .nav .mobile-nav-cta {
        display: block;
        margin: 12px 18px 0;
        padding: 15px 18px;
        background: var(--yellow);
        color: #111;
        text-align: center;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 1px;
    }


    .nav .mobile-nav-cta:hover {
        color: #111;
        background: var(--yellow-hover);
    }


    .header-btn {
        margin-left: 0;
    }


    .solutions-grid,
    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .solution-card {
        border-bottom:
            1px solid #d9dcdd;
    }


    .process-layout {
        gap: 55px;
    }


    .promo-wrap {
        gap: 45px;
    }


    .promo-content h2 {
        font-size: 60px;
    }


    .promo-price {
        font-size: 85px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

    .container {
        width:
            min(100% - 30px, 1180px);
    }


    /* HEADER */

    .header-inner {
        min-height: 72px;
    }


    .header-btn {
        display: none;
    }


    .nav {
        top: 72px;
    }


    .brand-icon {
        width: 34px;
        height: 34px;
    }


    .brand-text strong {
        font-size: 17px;
    }


    /* HERO */

    .hero {
        min-height: 780px;

        background:
            linear-gradient(
                0deg,
                rgba(5,7,9,.98) 0%,
                rgba(5,7,9,.91) 52%,
                rgba(5,7,9,.32) 100%
            ),
            url("images/safemax-hero.png");

        background-size: cover;

        background-position:
            67% center;
    }


    .hero-inner {
        align-items: flex-end;

        padding-top: 110px;
        padding-bottom: 135px;
    }


    .hero-content {
        width: 100%;

        margin-left: 0;
    }


    .hero h1 {
        font-size:
            clamp(38px, 11vw, 52px);

        letter-spacing: -1.5px;
    }


    .hero-description {
        font-size: 13px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* BENEFITS */

    .benefits-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .benefit {
        min-height: 68px;

        justify-content: flex-start;

        padding-left: 15px;
    }


    .benefit-icon {
        width: 31px;
        height: 31px;
    }


    /* SECTIONS */

    .section {
        padding: 72px 0;
    }


    .solutions-grid,
    .services-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }


    .solution-card,
    .service {
        border-right: 0;
    }


    .process-layout,
    .contact-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* PROMO */

    .promo-section {
        padding: 75px 0;
    }


    .promo-section::after {
        font-size: 300px;

        right: -70px;
    }


    .promo-wrap {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .promo-content h2 {
        font-size: 54px;

        letter-spacing: -3px;
    }


    .promo-lead {
        font-size: 14px;
    }


    .promo-features {
        grid-template-columns: 1fr;
    }


    .promo-feature,
    .promo-feature:nth-child(2),
    .promo-feature:nth-child(3) {
        padding: 14px 0;

        border-right: 0;

        border-bottom:
            1px solid rgba(255,255,255,.08);
    }


    .promo-feature:last-child {
        border-bottom: 0;
    }


    .promo-buttons {
        flex-direction: column;

        align-items: stretch;

        gap: 17px;
    }


    .promo-buttons .btn {
        width: 100%;
    }


    .promo-phone {
        text-align: center;
    }


    .promo-price-box {
        padding: 50px 20px 35px;
    }


    .promo-price {
        font-size: 88px;

        letter-spacing: -5px;
    }


    /* FOOTER */

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }


    .copyright {
        margin-left: 0;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 430px) {

    .hero h1 {
        font-size: 37px;
    }


    .promo-content h2 {
        font-size: 47px;
    }


    .promo-price {
        font-size: 76px;
    }

}

/* =========================================================
   SAFEMAX REFERENCE - FOTOGRAFIJE
   ========================================================= */

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.reference-item {
    min-width: 0;
    overflow: hidden;
    background: #111519;
}

.reference-image {
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #111519;
}

.reference-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.reference-caption {
    padding: 18px 20px 20px;
    background: #111519;
}

.reference-caption strong {
    display: block;
    margin-bottom: 5px;

    color: #f4c318;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.reference-caption span {
    display: block;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}


/* TABLET */

@media (max-width: 900px) {

    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reference-image {
        height: 340px;
    }

}


/* MOBILNI */

@media (max-width: 650px) {

    .reference-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .reference-item {
        width: 100%;
    }

    .reference-image {
        width: 100%;
        height: 300px;
    }

    .reference-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .reference-caption {
        padding: 16px 18px 18px;
    }

}