/* =========================================================
   GLOBAL / VARIABLES
========================================================= */
:root {
    --primary-color: #101d4a;
    --primary-dark: #071230;
    --text-dark: #071b4d;
    --text-muted: #5f6f89;
    --white: #ffffff;
    --zuta: #ffd200;
    --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-dark);
    background: #f7f8fc;
    font-family: "Montserrat", Arial, sans-serif;
}

body,
a,
button {
    font-family: "Montserrat", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", Arial, sans-serif;
}

img,
svg {
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

/* =========================================================
   HEADER - DESKTOP
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.header-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 60px;
}

.main-nav a {
    position: relative;
    min-height: 88px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--zuta);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: rgba(255, 210, 0, 0.12);
    border: 1px solid rgba(255, 210, 0, 0.35);
    color: var(--zuta);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.25s ease;
}

.header-phone:hover {
    background: var(--zuta);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header-phone-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.header-phone-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO - DESKTOP
========================================================= */
.autotestovi-hero {
    position: relative;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    padding: 34px 0;
    background: #f7f8fc;
    overflow: hidden;
}

.autotestovi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(16, 29, 74, 0.018) 49%, transparent 50%),
        linear-gradient(140deg, transparent 48%, rgba(16, 29, 74, 0.015) 49%, transparent 50%);
    background-size: 190px 140px, 260px 190px;
    pointer-events: none;
}

.autotestovi-board {
    position: relative;
    width: 100%;
    min-height: 660px;
    padding: 54px 72px 58px;
    border: 5px solid var(--zuta);
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 210, 0, 0.16), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(255, 210, 0, 0.08), transparent 34%),
        linear-gradient(145deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--zuta);
    text-align: center;
    box-shadow: 0 30px 90px rgba(16, 29, 74, 0.26);
    overflow: hidden;
}

.autotestovi-board::before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 3px solid rgba(255, 210, 0, 0.9);
    border-radius: 17px;
    pointer-events: none;
}

.autotestovi-board::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.55) 49%, transparent 50%),
        linear-gradient(140deg, transparent 48%, rgba(255, 255, 255, 0.45) 49%, transparent 50%);
    background-size: 180px 130px, 240px 180px;
    pointer-events: none;
}

.autotestovi-top,
.autotestovi-main,
.autotestovi-info,
.autotestovi-contact {
    position: relative;
    z-index: 2;
}

.autotestovi-top {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

.autotestovi-top span {
    display: inline-block;
    padding: 0 18px 10px;
    border-bottom: 5px solid var(--zuta);
    color: var(--zuta);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -0.055em;
}

.autotestovi-main h1 {
    margin: 0;
    color: var(--zuta);
    font-size: clamp(44px, 5.4vw, 82px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.autotestovi-main h1 span {
    display: block;
    margin-top: 6px;
}

.autotestovi-info {
    max-width: 1020px;
    margin: 42px auto 0;
    padding: 30px 24px;
    border-radius: 22px;
    background: rgba(255, 210, 0, 0.06);
    border: 1px solid rgba(255, 210, 0, 0.18);
}

.autotestovi-info p {
    margin: 0;
    color: var(--zuta);
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.22;
    font-weight: 850;
    font-style: italic;
    letter-spacing: -0.025em;
}

.autotestovi-info p + p {
    margin-top: 8px;
}

.autotestovi-info strong {
    color: #ffffff;
    font-weight: 950;
}

.autotestovi-contact {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 42px;
}

.autotestovi-contact a {
    color: var(--zuta);
    text-decoration: none;
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0.035em;
    transition: 0.25s ease;
}

.autotestovi-contact a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================================
   OFFER SECTION - DESKTOP
========================================================= */
.autotestovi-offer-section {
    position: relative;
    padding: 96px 0 104px;
    background: #f7f8fc;
    overflow: hidden;
}

.autotestovi-offer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(16, 29, 74, 0.012) 49%, transparent 50%),
        linear-gradient(140deg, transparent 48%, rgba(16, 29, 74, 0.01) 49%, transparent 50%);
    background-size: 190px 140px, 260px 190px;
    pointer-events: none;
}

.autotestovi-offer-container {
    flex-direction: column-reverse;
    position: relative;
    z-index: 2;
    display: flex;
    grid-template-columns: 0.92fr 0.78fr;
    gap: 70px;
    align-items: center;

}

.autotestovi-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.autotestovi-info-card {
    position: relative;
    min-height: 130px;
    padding: 24px 28px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 210, 0, 0.14), transparent 34%),
        linear-gradient(145deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 18px 48px rgba(16, 29, 74, 0.16);
    overflow: hidden;
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.28s ease;
}

.autotestovi-info-card::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid var(--zuta);
    border-radius: 14px;
    pointer-events: none;
}

.autotestovi-info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.55) 49%, transparent 50%),
        linear-gradient(140deg, transparent 48%, rgba(255, 255, 255, 0.45) 49%, transparent 50%);
    background-size: 150px 110px, 210px 160px;
    pointer-events: none;
}

.autotestovi-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(16, 29, 74, 0.24);
}

.autotestovi-info-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.02em;
}

.autotestovi-info-card h4 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.02em;
}


/* =========================================================
   PRICE CARD - DESKTOP
========================================================= */
.autotestovi-price-card {
    max-width: 520px;
    justify-self: end;
}

.zanasa-hero-price-card {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 85% 12%, rgba(255, 210, 0, 0.17), transparent 34%),
        linear-gradient(145deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(16, 29, 74, 0.18);
    box-shadow:
        0 30px 80px rgba(16, 29, 74, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.zanasa-hero-price-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 23px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.price-card-main {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 18px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.price-card-kicker {
    display: inline-flex;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 950;
    font-style: italic;
    letter-spacing: -0.035em;
}

.price-card-main h2 {
    margin: 8px 0 18px;
    color: var(--zuta);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.price-main {
    display: grid;
    gap: 6px;
    justify-items: center;
}

.price-main strong {
    color: var(--zuta);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.055em;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.price-card-main p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
    font-weight: 850;
}

.price-card-secondary {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.price-card-secondary span {
    display: block;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 4px;
}

.price-card-secondary h3 {
    margin: 0 0 14px;
    color: var(--zuta);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 850;
}

.price-secondary strong {
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    font-weight: 950;
}

.price-card-secondary p {
    display: block;
    margin: 18px 0 0;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--zuta);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 900;
}

.price-card-note {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.5;
}

.price-card-note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--zuta);
    stroke-width: 2.4;
    margin-top: 1px;
}

/* =========================================================
   FOOTER - DESKTOP
========================================================= */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
    color: #ffffff;
}

.footer-map-shape {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0.13;
    background-image:
        linear-gradient(30deg, transparent 47%, rgba(255, 255, 255, 0.5) 48%, transparent 49%),
        linear-gradient(140deg, transparent 47%, rgba(255, 255, 255, 0.45) 48%, transparent 49%),
        linear-gradient(80deg, transparent 47%, rgba(255, 255, 255, 0.35) 48%, transparent 49%);
    background-size: 150px 120px, 210px 160px, 180px 130px;
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 0.7fr;
    gap: 70px;
    padding: 68px 0 54px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: 0.25s ease;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background: var(--zuta);
    color: var(--primary-color);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

.footer-contact h3 {
    margin: 0 0 2px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.45;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: var(--zuta);
}

.footer-contact-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: var(--zuta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -1px;
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
}

.footer-bottom-container {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.4;
}

.footer-counter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 7px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 210, 0, 0.18);
}

.footer-counter span {
    min-width: 15px;
    height: 22px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.22);
    color: var(--zuta);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    font-family: "Inter", Arial, sans-serif;
}

/* =========================================================
   MOBILE - ISPOD 900px
========================================================= */
@media (max-width: 900px) {
    /* -------------------------
       GLOBAL - MOBILE
    ------------------------- */
    html {
        font-size: 18px;
    }

    body {
        font-size: 18px;
        line-height: 1.7;
    }

    .container {
        width: min(100% - 28px, 1200px);
    }

    /* -------------------------
       HEADER - MOBILE
    ------------------------- */
    .header-container {
        min-height: 74px;
        gap: 15px;
    }

    .site-logo img {
        width: 165px;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        display: block;
        padding: 14px;
        background: var(--primary-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: var(--shadow-soft);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul {
        width: min(100% - 28px, 1200px);
        margin-inline: auto;
        display: grid;
        gap: 8px;
    }

    .main-nav a {
        min-height: auto;
        padding: 13px 12px;
        border-radius: 10px;
        font-size: 20px;
        line-height: 1.35;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    /* -------------------------
       HERO - MOBILE
    ------------------------- */
    .autotestovi-hero {
        min-height: auto;
        padding: 22px 0;
    }

    .autotestovi-board {
        min-height: auto;
        padding: 48px 22px 46px;
        border-width: 4px;
        border-radius: 20px;
    }

    .autotestovi-board::before {
        inset: 10px;
        border-width: 3px;
        border-radius: 14px;
    }

    .autotestovi-top {
        margin-bottom: 30px;
    }

    .autotestovi-top span {
        padding-bottom: 8px;
        border-bottom-width: 4px;
        font-size: 39px;
        line-height: 1.08;
    }

    .autotestovi-main h1 {
        font-size: 38px;
        line-height: 1.08;
        letter-spacing: 0.025em;
    }

    .autotestovi-info {
        margin-top: 34px;
        padding: 24px 16px;
        border-radius: 18px;
    }

    .autotestovi-info p {
        font-size: 25px;
        line-height: 1.35;
    }

    .autotestovi-contact {
        margin-top: 34px;
        gap: 10px;
    }

    .autotestovi-contact a {
        font-size: 25px;
        line-height: 1.18;
        letter-spacing: 0.01em;
        word-break: break-word;
    }

    /* -------------------------
       OFFER SECTION - MOBILE
    ------------------------- */
    .autotestovi-offer-section {
        padding: 20px 0 20px;
    }

    .autotestovi-offer-container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .autotestovi-info-cards {
        gap: 16px;
    }

    .autotestovi-info-card {
        min-height: 80px;
        padding: 24px 20px;
        border-width: 1px;
        border-radius: 5px;
    }

    .autotestovi-info-card::before {
        inset: 3px;
        border-width: 2px;
        border-radius: 2px;
    }

    .autotestovi-info-card h3 {
        font-size: 22px;
        line-height: 1.22;
    }
    
     .autotestovi-info-card h4 {
        font-size: 15px;
        line-height: 1.22;
    }

    /* -------------------------
       PRICE CARD - MOBILE
    ------------------------- */
    .autotestovi-price-card {
        max-width: 100%;
        justify-self: stretch;
    }

    .zanasa-hero-price-card {
        padding: 18px;
        border-radius: 24px;
    }

    .price-card-kicker {
        font-size: 30px;
    }

    .price-card-main h2 {
        font-size: 25px;
    }

    .price-main strong {
        font-size: 38px;
    }

    .price-card-main p,
    .price-card-secondary span,
    .price-card-secondary h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    .price-card-secondary {
        padding: 20px 16px;
    }

    .price-secondary strong {
        font-size: 38px;
    }

    .price-card-secondary p {
        border-radius: 14px;
        font-size: 15px;
        line-height: 1.45;
    }

    /* -------------------------
       FOOTER - MOBILE
    ------------------------- */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 14px 0 42px;
    }

    .footer-logo img {
        width: 185px;
    }

    .footer-map-shape {
        width: 100%;
    }

    .footer-contact li {
        font-size: 18px;
        line-height: 1.75;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
    }

    .footer-bottom-container {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-counter span {
        min-width: 14px;
        height: 21px;
        font-size: 12px;
    }
    
    
      .footer-contact h3,.footer-socials{margin: 0;}
        
        
        .footer-logo{
            display:none;
        }

}



.autotestovi-info-card h3 {
   
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;    
    user-select: none;         

    -webkit-tap-highlight-color: transparent;
    
  
    cursor: pointer; 
}
