:root {
    --ink: #07151b;
    --muted: #6a7a83;
    --bg: #f4f8fa;
    --card: #fff;
    --primary: #087187;
    --primary2: #0e91a9;
    --line: #dbe8ec;
    --shadow: 0 22px 60px rgba(7, 21, 27, .12);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 800;
}

.brand img {
    width: 124px;
    height: auto;
}

.brand span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 25px;
    font-weight: 700;
}

.main-nav a {
    color: #21343b;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 9px 13px;
    font-size: 22px;
}

/* Home hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(8, 113, 135, .28), transparent 38%),
        linear-gradient(135deg, #061318, #0b2c35 55%, #087187);
    color: #fff;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .08));
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.kicker {
    display: inline-flex;
    border: 1px solid rgba(8, 113, 135, .28);
    background: rgba(8, 113, 135, .1);
    color: var(--primary);
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}

.hero .kicker {
    color: #8de9f4;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

h1 {
    font-size: clamp(44px, 7vw, 82px);
    line-height: .98;
    margin: 18px 0;
}

h1 span,
.accent {
    color: #8de9f4;
}

.hero p {
    font-size: 20px;
    color: #d8eef3;
    max-width: 680px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 14px 22px;
    font-weight: 900;
    border: 1px solid transparent;
    box-shadow: 0 12px 30px rgba(8, 113, 135, .25);
}

.btn:hover {
    background: var(--primary2);
}

.btn.ghost {
    background: #fff;
    color: var(--primary);
    border-color: var(--line);
    box-shadow: none;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Stats */
.stats-wrap {
    margin-top: -52px;
    position: relative;
    z-index: 2;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 23px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    align-items: center;
}

.stat strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.stat span {
    color: var(--muted);
    font-weight: 800;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #e5f5f8;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 900;
}

/* Sections */
.section {
    padding: 86px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 32px;
}

.section-head h2,
.split h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.03;
    margin: 12px 0;
}

.section-head p {
    max-width: 660px;
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(7, 21, 27, .07);
}

.card-img {
    height: 245px;
    background: #dce9ec;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
}

.card h3 {
    font-size: 24px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.card p {
    color: var(--muted);
    margin: 0 0 20px;
}

/* Benefits */
.benefits {
    background: #fff;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.benefit {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(180deg, #fff, #f5fbfc);
}

.benefit b {
    font-size: 20px;
}

/* Split blocks */
.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 34px;
    align-items: center;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
}

.panel ul {
    margin: 0;
    padding-left: 20px;
}

/* Forms */
.form {
    display: grid;
    gap: 13px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 15px;
    font: inherit;
    background: #fff;
}

.form textarea {
    min-height: 150px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery a {
    height: 210px;
    border-radius: 20px;
    overflow: hidden;
    background: #dbe8ec;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .86);
    z-index: 99;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lightbox img {
    max-height: 88vh;
    border-radius: 16px;
}

.lightbox button {
    position: fixed;
    top: 20px;
    right: 24px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 30px;
}

/* Footer */
.site-footer {
    background: #061318;
    color: #d8eef3;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr 1fr;
    gap: 38px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 15px;
}

.site-footer a {
    display: block;
    color: #d8eef3;
    margin: 8px 0;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 35px;
    padding: 18px;
    color: #8aa1a9;
}

/* Admin */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-side {
    background: #061318;
    color: #fff;
    padding: 28px;
}

.admin-side img {
    width: 150px;
    margin-bottom: 28px;
}

.admin-side a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    margin: 5px 0;
    color: #d8eef3;
}

.admin-side a:hover {
    background: rgba(255, 255, 255, .08);
}

.admin-main {
    padding: 32px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.thumb {
    width: 76px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.danger {
    background: #b42318 !important;
}

/* Kontakt stranica */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 19, 24, .86), rgba(8, 113, 135, .68)),
        url('../img/hero-contact.webp') center/cover no-repeat;
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(141, 233, 244, .28), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .05));
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 40px 0;
}

.page-hero h1 {
    font-size: clamp(38px, 5.4vw, 70px);
    line-height: 1;
    margin: 18px 0;
}

.page-hero p {
    font-size: 20px;
    color: #d8eef3;
    margin: 0 auto;
    max-width: 740px;
}

.contact-hero .kicker {
    align-self: center;
    color: #8de9f4;
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .09);
}

.contact-info-strip {
    position: relative;
    z-index: 2;
    margin-top: -54px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 17px;
    align-items: center;
    min-height: 132px;
    transition: .25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(7, 21, 27, .14);
}

.contact-info-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e5f5f8, #fff);
    color: var(--primary);
    display: grid;
    place-items: center;
    box-shadow:
        inset 0 0 0 1px rgba(8, 113, 135, .13),
        0 10px 20px rgba(8, 113, 135, .08);
}

.contact-info-card small {
    display: block;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    font-weight: 900;
    font-size: 12px;
    margin-bottom: 3px;
}

.contact-info-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.25;
}

.contact-info-card a:hover {
    color: var(--primary);
}

.contact-section {
    padding-top: 78px;
}

.contact-split {
    align-items: start;
}

.lead-text {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
}

.contact-panel-note {
    margin-top: 22px;
    box-shadow: 0 14px 34px rgba(7, 21, 27, .08);
}

.contact-form {
    position: relative;
}

.contact-form:before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(8, 113, 135, .55), rgba(141, 233, 244, .18), rgba(8, 113, 135, .05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-alert {
    border-radius: 16px;
    padding: 13px 15px;
    font-weight: 800;
}

.form-alert.success {
    background: #e9f8ef;
    color: #166534;
    border: 1px solid #b9ebc8;
}

.form-alert.error {
    background: #fff1f1;
    color: #9f1239;
    border: 1px solid #fecaca;
}

.map-full {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #dbe8ec;
}

.map-full iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
    filter: saturate(.95) contrast(1.02);
}

/* Responsive */
@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 18px;
        right: 18px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 18px;
        box-shadow: var(--shadow);
        flex-direction: column;
    }

    .main-nav.open {
        display: flex;
    }

    .stats,
    .grid,
    .benefit-grid,
    .gallery,
    .footer-grid,
    .split,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: 560px;
    }

    .section-head {
        display: block;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-side {
        position: relative;
    }

    .gallery a {
        height: 250px;
    }

    .page-hero-inner {
        min-height: 340px;
        text-align: left;
    }

    .contact-hero .kicker {
        align-self: flex-start;
    }

    .contact-info-strip {
        margin-top: -30px;
    }

    .contact-info-card {
        min-height: auto;
    }

    .contact-section {
        padding-top: 55px;
    }

    .map-full,
    .map-full iframe {
        height: 380px;
    }
}



/* Active header link */
.main-nav a {
    position: relative;
    padding: 10px 0;
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
}

/* Footer contact + credit */
.site-footer p {
    margin-top: 0;
}

.site-footer strong {
    color: #fff;
}

.site-footer a:hover {
    color: #8de9f4;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-credit {
    color: #8aa1a9;
}

.footer-credit a {
    display: inline;
    margin: 0;
    color: #d8eef3;
    font-weight: 800;
}

.footer-credit a:hover {
    color: #8de9f4;
}

@media (max-width: 860px) {
    .main-nav a {
        padding: 8px 0;
    }

    .main-nav a.active:after {
        display: none;
    }

    .main-nav a.active {
        background: #e5f5f8;
        color: var(--primary);
        border-radius: 12px;
        padding: 10px 12px;
    }

    .copyright {
        flex-direction: column;
        gap: 4px;
    }
}

#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;

    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: none;

    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;

    font-size: 22px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 12px 30px rgba(8,113,135,.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all .3s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(8,113,135,.45);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: linear-gradient(180deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 14px 38px rgba(7,21,27,.07);
    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(7,21,27,.13);
}

.feature-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e5f5f8, #ffffff);
    color: var(--primary);
    font-size: 34px;
    box-shadow:
        inset 0 0 0 1px rgba(8,113,135,.14),
        0 14px 28px rgba(8,113,135,.10);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.2;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

@media(max-width: 860px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery page - final */
.gallery-hero {
    background:
        linear-gradient(135deg, rgba(6, 19, 24, .86), rgba(8, 113, 135, .66)),
        url('../img/gallery-hero.webp') center/cover no-repeat;
}

.gallery-page-section {
    padding-top: 78px;
}

.gallery-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-modern a {
    position: relative;
    height: 260px;
    border-radius: 26px;
    overflow: hidden;
    background: #dbe8ec;
    box-shadow: 0 16px 42px rgba(7, 21, 27, .08);
}

.gallery-modern a:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(6, 19, 24, .42));
    opacity: 0;
    transition: .25s ease;
    z-index: 1;
}

.gallery-modern a:after {
    content: "Pogledaj";
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-weight: 900;
    letter-spacing: .03em;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.gallery-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.gallery-modern a:hover img {
    transform: scale(1.06);
}

.gallery-modern a:hover:before,
.gallery-modern a:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.empty-gallery {
    text-align: center;
}

/* Final lightbox slider */
body.lightbox-open {
    overflow: hidden;
}

.slider-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 10, 13, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 100px;
}

.lightbox-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(100%, 1180px);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.slider-lightbox button {
    border: 0;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #fff;
    color: #061318;
    font-size: 32px;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #061318;
    font-size: 46px;
    line-height: 1;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.lightbox-prev {
    left: -76px;
}

.lightbox-next {
    right: -76px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    background: #8de9f4;
}

.lightbox-counter {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

/* If screen is narrower, put arrows inside image area */
@media (max-width: 1200px) {
    .slider-lightbox {
        padding-left: 24px;
        padding-right: 24px;
    }

    .lightbox-prev {
        left: 16px;
    }

    .lightbox-next {
        right: 16px;
    }

    .lightbox-prev,
    .lightbox-next {
        background: rgba(255, 255, 255, .86);
    }
}

@media (max-width: 860px) {
    .gallery-modern {
        grid-template-columns: 1fr;
    }

    .gallery-modern a {
        height: 260px;
    }

    .slider-lightbox {
        padding: 76px 12px;
    }

    .lightbox-image {
        max-height: calc(100vh - 170px);
        border-radius: 14px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 34px;
        background: rgba(255, 255, 255, .88);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
}

/* Header: sticky menu + Facebook icon */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-social {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #e5f5f8;
    border: 1px solid rgba(8, 113, 135, .16);
    transition: .25s ease;
}

.header-social:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(8, 113, 135, .22);
}

.header-social svg {
    display: block;
}

@media (max-width: 860px) {
    .nav-right {
        gap: 10px;
    }

    .header-social {
        width: 40px;
        height: 40px;
    }

    .main-nav {
        z-index: 1001;
    }
}


/* Desktop fixed/sticky header */
@media (min-width: 861px) {
    body {
        padding-top: 82px;
    }

    .site-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
    }
}

/* Mobile fix - kontakt forma */
@media (max-width: 860px) {
    .contact-section .container {
        width: calc(100% - 28px);
    }

    .contact-split {
        gap: 24px;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 22px 18px;
        overflow: hidden;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    .contact-form button {
        max-width: 100%;
    }

    .cf-turnstile {
        max-width: 100%;
        overflow: hidden;
    }

    .contact-panel-note {
        padding: 22px 18px;
    }
}

@media (max-width: 380px) {
    .contact-form {
        padding: 20px 14px;
    }
}

/* Contact mobile overflow fix */
@media (max-width: 860px) {
    .contact-section {
        overflow: hidden;
    }

    .contact-section .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-split {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .contact-split > *,
    .contact-panel-note,
    .contact-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .contact-panel-note,
    .contact-form {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    .contact-form button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .cf-turnstile {
        max-width: 100%;
        overflow: hidden;
    }
}

/* Admin news page */
.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-page-head h1 {
    margin: 8px 0 6px;
    font-size: 42px;
    line-height: 1.05;
}

.admin-page-head p {
    margin: 0;
    color: var(--muted);
}

.admin-kicker {
    display: inline-flex;
    border: 1px solid rgba(8,113,135,.22);
    background: rgba(8,113,135,.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}

.admin-news-form {
    margin-bottom: 28px;
}

.admin-news-form label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
    color: #21343b;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 14px;
}

.admin-large-textarea {
    min-height: 260px !important;
}

.admin-current-image {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--muted);
    font-weight: 800;
}

.admin-current-image img {
    width: 120px;
    height: 78px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.admin-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.admin-news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(7,21,27,.08);
}

.admin-news-img {
    height: 185px;
    background: #e5f5f8;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.admin-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-news-body {
    padding: 20px;
}

.admin-news-body small {
    display: block;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 8px;
}

.admin-news-body h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.admin-news-body p {
    color: var(--muted);
    margin: 0 0 18px;
}

@media (max-width: 860px) {
    .admin-page-head {
        display: block;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-page-head h1 {
        font-size: 34px;
    }
}

/* Admin layout fix caused by fixed public header offset */
.admin-layout {
    margin-top: 0 !important;
}

body:has(.admin-layout) {
    padding-top: 0 !important;
}

/* Admin news page v2 */
.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-news-head {
    padding-top: 0;
}

.admin-page-head h1 {
    margin: 8px 0 6px;
    font-size: 42px;
    line-height: 1.05;
}

.admin-page-head p {
    margin: 0;
    color: var(--muted);
}

.admin-kicker {
    display: inline-flex;
    border: 1px solid rgba(8,113,135,.22);
    background: rgba(8,113,135,.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}

.admin-news-form {
    margin-bottom: 28px;
}

.admin-news-form label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
    color: #21343b;
}

.admin-help {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 700;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 14px;
}

.admin-large-textarea {
    min-height: 260px !important;
}

.admin-current-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.admin-current-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #e5f5f8;
    border: 1px solid var(--line);
}

.admin-current-image-card img {
    width: 100%;
    height: 96px;
    object-fit: cover;
}

.admin-remove-image {
    display: block;
    text-align: center;
    padding: 7px;
    background: #b42318;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.admin-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.admin-news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(7,21,27,.08);
}

.admin-news-img {
    position: relative;
    height: 185px;
    background: #e5f5f8;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.admin-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-image-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(6, 19, 24, .82);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.admin-news-body {
    padding: 20px;
}

.admin-news-body small {
    display: block;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 8px;
}

.admin-news-body h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.admin-news-body p {
    color: var(--muted);
    margin: 0 0 18px;
}

.admin-empty-state {
    text-align: center;
    margin-top: 25px;
}

.admin-empty-state h3 {
    margin-top: 0;
    font-size: 26px;
}

.admin-empty-state p {
    color: var(--muted);
}

@media (max-width: 860px) {
    .admin-page-head {
        display: block;
    }

    .admin-page-head .btn {
        margin-top: 14px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-page-head h1 {
        font-size: 34px;
    }
}

/* News frontend */
.news-hero {
    background:
        linear-gradient(135deg, rgba(6, 19, 24, .88), rgba(8, 113, 135, .66)),
        url('../img/news-hero.webp') center/cover no-repeat;
}

.news-intro-section {
    padding: 54px 0 0;
}

.news-intro-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(141, 233, 244, .22), transparent 35%),
        linear-gradient(135deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 34px;
    box-shadow: 0 18px 55px rgba(7, 21, 27, .08);
}

.news-intro-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    margin: 14px 0 0;
}

.news-intro-card p {
    color: var(--muted);
    margin: 0;
    font-size: 18px;
}

.news-list-section {
    padding-top: 70px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 16px 46px rgba(7, 21, 27, .08);
    transition: .28s ease;
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(7, 21, 27, .14);
}

.news-card-img {
    position: relative;
    display: block;
    height: 255px;
    background: #dbe8ec;
    overflow: hidden;
}

.news-card-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 19, 24, 0), rgba(6, 19, 24, .32));
    opacity: .85;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .38s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.06);
}

.news-date {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    color: var(--primary);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.news-card-body {
    padding: 24px;
}

.news-label {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #e5f5f8;
    color: var(--primary);
    padding: 6px 11px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 900;
}

.news-card h3 {
    font-size: 24px;
    line-height: 1.14;
    margin: 0 0 12px;
}

.news-card h3 a:hover {
    color: var(--primary);
}

.news-card p {
    color: var(--muted);
    margin: 0 0 22px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 900;
}

.news-read-more svg {
    transition: .25s ease;
}

.news-read-more:hover svg {
    transform: translateX(5px);
}

.empty-news {
    text-align: center;
}

.news-cta-section {
    padding-top: 0;
}

.news-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(6, 54, 54, .96), rgba(38, 113, 135, .86));
    color: #fff;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 22px 60px rgba(7, 21, 27, .14);
}

.news-cta .kicker {
    color: #8de9f4;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

.news-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 14px 0 10px;
}

.news-cta p {
    color: #d8eef3;
    margin: 0;
}

@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Single news page */
.single-news-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(141, 233, 244, .22), transparent 34%),
        linear-gradient(135deg, #061318, #0b2c35 58%, #087187);
    color: #fff;
    padding: 70px 0 60px;
}

.single-news-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.36), rgba(0,0,0,.04));
}

.single-news-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .82fr;
    gap: 44px;
    align-items: center;
}

.single-news-back {
    display: inline-flex;
    color: #d8eef3;
    font-weight: 900;
    margin-bottom: 22px;
}

.single-news-back:hover {
    color: #8de9f4;
}

.single-news-hero .kicker {
    color: #8de9f4;
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
}

.single-news-date {
    display: inline-flex;
    margin-left: 10px;
    color: #d8eef3;
    font-weight: 900;
}

.single-news-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    margin: 20px 0 18px;
    max-width: 820px;
}

.single-news-hero p {
    color: #d8eef3;
    font-size: 20px;
    max-width: 720px;
    margin: 0;
}

.single-news-hero-image {
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    box-shadow: 0 28px 80px rgba(0,0,0,.26);
    border: 1px solid rgba(255,255,255,.18);
}

.single-news-hero-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.single-news-section {
    padding-top: 72px;
}

.single-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.single-news-article {
    min-width: 0;
}

.single-news-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 42px;
    box-shadow: 0 16px 46px rgba(7,21,27,.08);
    font-size: 18px;
    color: #263b43;
    line-height: 1.85;
}

.single-news-content b,
.single-news-content strong {
    color: var(--ink);
}

.single-news-content p:first-child {
    margin-top: 0;
}

.single-news-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px;
}

.single-news-side-card,
.single-news-side-mini {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 14px 38px rgba(7,21,27,.07);
}

.single-news-side-card h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 14px 0 10px;
}

.single-news-side-card p {
    color: var(--muted);
    margin: 0 0 20px;
}

.single-news-side-mini {
    padding: 20px 22px;
}

.single-news-side-mini strong {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 5px;
}

.single-news-side-mini a {
    color: var(--primary);
    font-weight: 900;
}

.single-news-gallery-block {
    margin-top: 36px;
}

.compact-head {
    margin-bottom: 20px;
}

.compact-head h2 {
    font-size: clamp(28px, 3vw, 42px);
}

.single-news-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.single-news-gallery a {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 24px;
    background: #dbe8ec;
    box-shadow: 0 14px 36px rgba(7,21,27,.08);
}

.single-news-gallery a:after {
    content: "Pogledaj";
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.single-news-gallery a:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(6,19,24,.42));
    z-index: 1;
    opacity: 0;
    transition: .25s ease;
}

.single-news-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.single-news-gallery a:hover img {
    transform: scale(1.06);
}

.single-news-gallery a:hover:before,
.single-news-gallery a:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.single-news-more-section {
    padding-top: 0;
}

.single-news-more {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 38px;
    box-shadow: 0 16px 46px rgba(7,21,27,.08);
}

.single-news-more h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 14px 0 8px;
}

.single-news-more p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .single-news-hero-grid,
    .single-news-layout {
        grid-template-columns: 1fr;
    }

    .single-news-sidebar {
        position: static;
    }

    .single-news-hero-image img {
        height: 360px;
    }
}

@media (max-width: 860px) {
    .single-news-hero {
        padding: 48px 0 42px;
    }

    .single-news-hero h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .single-news-hero p {
        font-size: 18px;
    }

    .single-news-hero-image img {
        height: 285px;
    }

    .single-news-content {
        padding: 28px 22px;
        font-size: 17px;
        border-radius: 26px;
    }

    .single-news-gallery {
        grid-template-columns: 1fr;
    }

    .single-news-gallery a {
        height: 250px;
    }

    .single-news-more {
        display: block;
        padding: 28px 22px;
    }

    .single-news-more .btn {
        margin-top: 20px;
    }
}

@media (max-width: 860px) {
    .news-intro-card,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-intro-card {
        padding: 26px;
    }

    .news-card-img {
        height: 250px;
    }

    .news-cta {
        display: block;
        padding: 30px 24px;
    }

    .news-cta .btn {
        margin-top: 22px;
    }
}

/* About page video popup */
.about-video-section .split {
    align-items: center;
}

.video-preview-card {
    position: relative;
}

.video-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 34px;
    overflow: hidden;
    background: #061318;
    cursor: pointer;
    box-shadow: 0 22px 65px rgba(7, 21, 27, .16);
}

.video-preview img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    transition: .4s ease;
}

.video-preview:hover img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,19,24,.05), rgba(6,19,24,.68)),
        radial-gradient(circle at 50% 45%, rgba(141,233,244,.24), transparent 28%);
}

.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    color: var(--primary);
    box-shadow: 0 22px 52px rgba(0,0,0,.28);
    transition: .25s ease;
}

.video-preview:hover .video-play {
    background: #8de9f4;
    color: #061318;
    transform: translate(-50%, -50%) scale(1.06);
}

.video-caption {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    text-align: left;
    line-height: 1.15;
}

.video-caption small {
    display: block;
    margin-bottom: 6px;
    color: #8de9f4;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3,10,13,.9);
}

.video-modal-box {
    position: relative;
    width: min(980px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 28px 90px rgba(0,0,0,.5);
}

.video-modal-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-modal-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #061318;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 36px rgba(0,0,0,.25);
}

.video-modal-close:hover {
    background: #8de9f4;
}

body.video-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .video-preview img {
        height: 310px;
    }

    .video-play {
        width: 76px;
        height: 76px;
    }

    .video-caption {
        font-size: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .video-modal {
        padding: 16px;
    }

    .video-modal-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
}

/* Admin products page */
.admin-layout { margin-top: 0 !important; }
body:has(.admin-layout) { padding-top: 0 !important; }

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-page-head h1 {
    margin: 8px 0 6px;
    font-size: 42px;
    line-height: 1.05;
}

.admin-page-head p { margin: 0; color: var(--muted); }

.admin-kicker {
    display: inline-flex;
    border: 1px solid rgba(8,113,135,.22);
    background: rgba(8,113,135,.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 900;
}

.admin-product-form { margin-bottom: 28px; }

.admin-product-form label {
    display: block;
    font-weight: 900;
    margin-bottom: 7px;
    color: #21343b;
}

.admin-help {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 700;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 14px;
}

.admin-large-textarea { min-height: 260px !important; }

.admin-current-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.admin-current-image-card {
    border-radius: 16px;
    overflow: hidden;
    background: #e5f5f8;
    border: 1px solid var(--line);
}

.admin-current-image-card img {
    width: 100%;
    height: 96px;
    object-fit: cover;
}

.admin-remove-image {
    display: block;
    text-align: center;
    padding: 7px;
    background: #b42318;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.admin-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.admin-product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(7,21,27,.08);
}

.admin-product-img {
    position: relative;
    height: 210px;
    background: #e5f5f8;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.admin-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-image-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(6, 19, 24, .82);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
}

.admin-product-body { padding: 20px; }

.admin-product-body small {
    display: block;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 8px;
}

.admin-product-body h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.admin-product-body p {
    color: var(--muted);
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-empty-state {
    text-align: center;
    margin-top: 25px;
}

.admin-empty-state h3 {
    margin-top: 0;
    font-size: 26px;
}

.admin-empty-state p { color: var(--muted); }

@media (max-width: 860px) {
    .admin-page-head { display: block; }
    .admin-page-head .btn { margin-top: 14px; }
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-page-head h1 { font-size: 34px; }
}

.admin-editor {
    min-height: 260px;
    background: #fff;
}

.ql-toolbar.ql-snow {
    border-radius: 16px 16px 0 0;
    border-color: var(--line);
}

.ql-container.ql-snow {
    border-radius: 0 0 16px 16px;
    border-color: var(--line);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
}

.ql-editor {
    min-height: 240px;
}

/* Products frontend */
.products-hero {
    background:
        linear-gradient(135deg, rgba(6, 19, 24, .88), rgba(8, 113, 135, .64)),
        url('../img/products-hero.webp') center/cover no-repeat;
}

.products-intro-section {
    padding: 54px 0 0;
}

.products-intro-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(141, 233, 244, .24), transparent 35%),
        linear-gradient(135deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 18px 55px rgba(7, 21, 27, .08);
}

.products-intro-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.04;
    margin: 14px 0 0;
}

.products-intro-card p {
    color: var(--muted);
    margin: 0;
    font-size: 18px;
}

.product-benefit-strip {
    padding: 44px 0 0;
}

.product-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 14px 38px rgba(7, 21, 27, .07);
}

.product-benefit span {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #e5f5f8;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 16px;
}

.product-benefit strong {
    display: block;
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.product-benefit p {
    margin: 0;
    color: var(--muted);
}

.products-list-section {
    padding-top: 70px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 16px 46px rgba(7, 21, 27, .08);
    transition: .28s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(7, 21, 27, .14);
}

.product-card-img {
    position: relative;
    display: block;
    height: 300px;
    background:
        radial-gradient(circle at 50% 35%, rgba(141,233,244,.22), transparent 38%),
        #eef7f9;
    overflow: hidden;
}

.product-card-img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,19,24,0), rgba(6,19,24,.22));
    opacity: .75;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    padding: 0px;
    
}

.product-card:hover .product-card-img img {
    transform: scale(1.055);
}

.product-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    background: rgba(255, 255, 255, .94);
    color: var(--primary);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
}

.product-card-body {
    padding: 25px;
}

.product-card h3 {
    font-size: 25px;
    line-height: 1.12;
    margin: 0 0 12px;
}

.product-card h3 a:hover {
    color: var(--primary);
}

.product-card p {
    color: var(--muted);
    margin: 0 0 22px;
}

.product-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 900;
}

.product-read-more svg {
    transition: .25s ease;
}

.product-read-more:hover svg {
    transform: translateX(5px);
}

.empty-products {
    text-align: center;
}

.products-cta-section {
    padding-top: 0;
}

.products-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(6, 19, 24, .96), rgba(8, 113, 135, .86));
    color: #fff;
    border-radius: 34px;
    padding: 42px;
    box-shadow: 0 22px 60px rgba(7, 21, 27, .14);
}

.products-cta .kicker {
    color: #8de9f4;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
}

.products-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 14px 0 10px;
}

.products-cta p {
    color: #d8eef3;
    margin: 0;
}

@media (max-width: 980px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .products-intro-card,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-intro-card {
        padding: 26px;
    }

    .product-card-img {
        height: 270px;
    }

    .products-cta {
        display: block;
        padding: 30px 24px;
    }

    .products-cta .btn {
        margin-top: 22px;
    }
}

/* Single product page */
.single-product-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 12%, rgba(141, 233, 244, .22), transparent 34%),
        linear-gradient(135deg, #061318, #0b2c35 58%, #087187);
    color: #fff;
    padding: 72px 0 64px;
}

.single-product-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.04));
}

.single-product-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .82fr;
    gap: 46px;
    align-items: center;
}

.single-product-back {
    display: inline-flex;
    color: #d8eef3;
    font-weight: 900;
    margin-bottom: 22px;
}

.single-product-back:hover {
    color: #8de9f4;
}

.single-product-hero .kicker {
    color: #8de9f4;
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
}

.single-product-hero h1 {
    font-size: clamp(38px, 5.4vw, 68px);
    line-height: 1.02;
    margin: 20px 0 18px;
    max-width: 840px;
}

.single-product-hero p {
    color: #d8eef3;
    font-size: 20px;
    max-width: 720px;
    margin: 0;
}

.single-product-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.single-product-hero-image {
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
    box-shadow: 0 28px 80px rgba(0,0,0,.26);
    border: 1px solid rgba(255,255,255,.18);
}

.single-product-hero-image a {
    display: block;
}

.single-product-hero-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    transition: .35s ease;
}

.single-product-hero-image:hover img {
    transform: scale(1.035);
}

.single-product-section {
    padding-top: 72px;
}

.single-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.single-product-main {
    min-width: 0;
}

.single-product-content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 42px;
    box-shadow: 0 16px 46px rgba(7,21,27,.08);
}

.single-product-content {
    margin-top: 20px;
    font-size: 18px;
    color: #263b43;
    line-height: 1.85;
}

.single-product-content p {
    margin: 0 0 18px;
}

.single-product-content p:last-child {
    margin-bottom: 0;
}

.single-product-content strong,
.single-product-content b {
    color: var(--ink);
    font-weight: 900;
}

.single-product-content ul,
.single-product-content ol {
    margin: 18px 0;
    padding-left: 24px;
}

.single-product-content li {
    margin: 7px 0;
}

.single-product-content a {
    color: var(--primary);
    font-weight: 900;
    text-decoration: underline;
}

.single-product-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px;
}

.single-product-side-card,
.product-info-mini {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 14px 38px rgba(7,21,27,.07);
}

.single-product-side-card h3 {
    font-size: 25px;
    line-height: 1.15;
    margin: 14px 0 10px;
}

.single-product-side-card p {
    color: var(--muted);
    margin: 0 0 20px;
}

.product-info-mini {
    padding: 20px 22px;
}

.product-info-mini strong {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 5px;
}

.product-info-mini span {
    color: var(--primary);
    font-weight: 900;
}

.single-product-gallery-block {
    margin-top: 36px;
}

.compact-head {
    margin-bottom: 20px;
}

.compact-head h2 {
    font-size: clamp(28px, 3vw, 42px);
}

.single-product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.single-product-gallery a {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 24px;
    background: #dbe8ec;
    box-shadow: 0 14px 36px rgba(7,21,27,.08);
}

.single-product-gallery a:after {
    content: "Pogledaj";
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.single-product-gallery a:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(6,19,24,.42));
    z-index: 1;
    opacity: 0;
    transition: .25s ease;
}

.single-product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.single-product-gallery a:hover img {
    transform: scale(1.06);
}

.single-product-gallery a:hover:before,
.single-product-gallery a:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.single-product-cta-section {
    padding-top: 0;
}

.single-product-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 38px;
    box-shadow: 0 16px 46px rgba(7,21,27,.08);
}

.single-product-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    margin: 14px 0 8px;
}

.single-product-cta p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .single-product-hero-grid,
    .single-product-layout {
        grid-template-columns: 1fr;
    }

    .single-product-sidebar {
        position: static;
    }

    .single-product-hero-image img {
        height: 360px;
    }
}

@media (max-width: 860px) {
    .single-product-hero {
        padding: 48px 0 42px;
    }

    .single-product-hero h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .single-product-hero p {
        font-size: 18px;
    }

    .single-product-hero-image img {
        height: 285px;
    }

    .single-product-content-card {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .single-product-content {
        font-size: 17px;
    }

    .single-product-gallery {
        grid-template-columns: 1fr;
    }

    .single-product-gallery a {
        height: 250px;
    }

    .single-product-cta {
        display: block;
        padding: 28px 22px;
    }

    .single-product-cta .btn {
        margin-top: 20px;
    }
}

/* Product admin editor fix */
.admin-product-form .ql-container {
    min-height: 360px;
    max-height: none;
}

.admin-product-form .ql-editor {
    min-height: 330px;
    padding-bottom: 40px;
}

.admin-product-form button[type="submit"] {
    margin-top: 22px;
}

/* Frontend product text spacing fix */
.single-product-content p {
    margin: 0 0 14px;
}

.single-product-content p:empty {
    display: none;
}

.single-product-content br + br {
    display: none;
}

/* Admin dashboard + sidebar polish */
.admin-layout {
    min-height: 100vh;
    background: var(--bg);
}

.admin-side {
    position: sticky;
    top: 0;
    height: 100vh;
    background:
        radial-gradient(circle at 30% 0%, rgba(8, 113, 135, .28), transparent 32%),
        #061318;
    padding: 32px 26px;
}

.admin-logo img {
    width: 150px;
    margin: 0 0 34px;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    color: #d8eef3;
    padding: 13px 15px;
    border-radius: 15px;
    font-weight: 800;
    transition: .22s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,.09);
    color: #fff;
    transform: translateX(3px);
}

.admin-nav a.active {
    box-shadow: inset 3px 0 0 #8de9f4;
}

.admin-nav a.logout {
    margin-top: 18px;
    color: #ffd6d6;
}

.admin-main {
    padding: 34px;
}

.admin-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.admin-dashboard-hero h1 {
    margin: 10px 0 8px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
}

.admin-dashboard-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.admin-dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 14px 38px rgba(7,21,27,.08);
    transition: .22s ease;
}

a.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(7,21,27,.13);
}

.admin-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #e5f5f8;
    font-size: 27px;
}

.admin-stat-card strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.admin-stat-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-weight: 900;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.admin-dashboard-panel,
.admin-warning-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 14px 38px rgba(7,21,27,.08);
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-panel-head h2 {
    margin: 10px 0 0;
    font-size: 30px;
    line-height: 1.05;
}

.admin-panel-head > a {
    color: var(--primary);
    font-weight: 900;
}

.admin-mini-list {
    display: grid;
    gap: 14px;
}

.admin-mini-list article {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    background: #f9fcfd;
}

.admin-mini-thumb {
    height: 78px;
    border-radius: 16px;
    overflow: hidden;
    background: #e5f5f8;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-mini-list h3 {
    margin: 0 0 5px;
    font-size: 18px;
    line-height: 1.15;
}

.admin-mini-list p {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 14px;
}

.admin-mini-list a {
    color: var(--primary);
    font-weight: 900;
    font-size: 14px;
}

.admin-empty-mini {
    text-align: center;
    color: var(--muted);
    padding: 24px 10px;
}

.admin-warning-panel {
    margin-top: 22px;
    background:
        radial-gradient(circle at 95% 0%, rgba(141,233,244,.18), transparent 32%),
        #fff;
}

.admin-warning-panel h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.admin-warning-panel p {
    margin: 0;
    color: var(--muted);
}

.admin-warning-panel code {
    background: #e5f5f8;
    color: var(--primary);
    padding: 3px 7px;
    border-radius: 8px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .admin-stat-grid,
    .admin-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-side {
        position: relative;
        height: auto;
    }

    .admin-main {
        padding: 22px 16px;
    }

    .admin-dashboard-hero {
        display: block;
    }

    .admin-dashboard-actions {
        margin-top: 18px;
    }

    .admin-stat-grid,
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin login */
.admin-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 10%, rgba(8,113,135,.18), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(141,233,244,.20), transparent 30%),
        linear-gradient(135deg, #f4f8fa, #eaf3f6);
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.admin-login-card {
    width: min(520px, 100%);
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 36px;
    box-shadow: 0 28px 80px rgba(7,21,27,.16);
    backdrop-filter: blur(12px);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.admin-login-brand img {
    width: 150px;
}

.admin-login-brand span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.admin-login-head h1 {
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1;
    margin: 14px 0 10px;
}

.admin-login-head p {
    margin: 0 0 22px;
    color: var(--muted);
}

.admin-login-alert {
    border: 1px solid #fecaca;
    background: #fff1f1;
    color: #9f1239;
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 800;
    margin-bottom: 18px;
}

.admin-login-form label {
    display: grid;
    gap: 7px;
    font-weight: 900;
    color: #21343b;
}

.admin-login-form input:disabled,
.admin-login-form button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.admin-login-form .btn {
    margin-top: 4px;
    width: 100%;
}

.admin-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.admin-login-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 520px) {
    .admin-login-page {
        padding: 18px;
    }

    .admin-login-card {
        padding: 26px 20px;
        border-radius: 28px;
    }

    .admin-login-brand {
        display: block;
    }

    .admin-login-brand img {
        margin-bottom: 8px;
    }
}


/* Admin gallery page */
.admin-gallery-head {
    align-items: center;
}

.admin-gallery-count {
    background: #e5f5f8;
    color: var(--primary);
    border: 1px solid rgba(8,113,135,.18);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
}

.admin-gallery-upload {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-gallery-upload h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.admin-gallery-upload p {
    margin: 0;
    color: var(--muted);
}

.admin-gallery-upload-row {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 420px;
}

.admin-gallery-upload-row input[type="file"] {
    height: 50px;
}

.admin-gallery-upload-row .btn {
    white-space: nowrap;
}

.admin-gallery-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin: 26px 0 14px;
    color: var(--muted);
}

.admin-gallery-toolbar strong {
    color: var(--ink);
    font-size: 20px;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.admin-gallery-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(7,21,27,.07);
}

.admin-gallery-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e5f5f8;
    overflow: hidden;
}

.admin-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .25s ease;
}

.admin-gallery-card:hover .admin-gallery-thumb img {
    transform: scale(1.05);
}

.admin-gallery-empty {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
}

.admin-gallery-card-footer {
    padding: 10px;
    display: grid;
    gap: 8px;
}

.admin-gallery-card-footer small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-delete-link {
    display: block;
    text-align: center;
    background: #b42318;
    color: #fff;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 900;
}

.admin-delete-link:hover {
    background: #8f1d14;
    color: #fff;
}

@media (max-width: 860px) {
    .admin-gallery-upload {
        display: block;
    }

    .admin-gallery-upload-row {
        display: grid;
        min-width: 0;
        margin-top: 16px;
    }

    .admin-gallery-toolbar {
        display: block;
    }

    .admin-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Elegant homepage v2 */
.home-v2-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    max-height: 860px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
    background: #061318;
}

.home-v2-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,19,24,.92) 0%, rgba(6,19,24,.74) 42%, rgba(6,19,24,.22) 100%),
        url('../img/home-hero.webp') center/cover no-repeat;
    transform: scale(1.01);
}

.home-v2-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 20%, rgba(141,233,244,.22), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
}

.home-v2-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 90px 0;
}

.home-v2-hero-content {
    max-width: 760px;
}

.home-v2-hero .kicker,
.home-v2-cta-card .kicker {
    color: #8de9f4;
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
}

.home-v2-hero h1 {
    font-size: clamp(42px, 5.8vw, 74px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin: 18px 0 18px;
}

.home-v2-hero p {
    max-width: 660px;
    margin: 0;
    color: #d8eef3;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
}

.home-v2-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.home-v2-hero-panel {
    position: absolute;
    right: 0;
    bottom: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(620px, 52vw);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.11);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
}

.home-v2-hero-panel div {
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,.14);
}

.home-v2-hero-panel div:last-child {
    border-right: 0;
}

.home-v2-hero-panel strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #8de9f4;
}

.home-v2-hero-panel span {
    display: block;
    margin-top: 7px;
    color: #d8eef3;
    font-size: 13px;
    font-weight: 800;
}

.home-v2-intro {
    padding: 76px 0 0;
}

.home-v2-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.home-v2-intro h2,
.home-v2-section-head h2,
.home-v2-video-text h2,
.home-v2-cta-card h2 {
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin: 14px 0 0;
}

.home-v2-intro p,
.home-v2-section-head p,
.home-v2-video-text p,
.home-v2-cta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.home-v2-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 900;
}

.home-v2-link:hover {
    color: var(--primary2);
}

.home-v2-products {
    padding-top: 76px;
}

.home-v2-section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
}

.home-v2-section-head p {
    max-width: 720px;
    margin-top: 12px;
}

.home-v2-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-v2-product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(7,21,27,.07);
    transition: .25s ease;
}

.home-v2-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(7,21,27,.12);
}

.home-v2-product-img {
    display: block;
    height: 245px;
    background: #e5f5f8;
    overflow: hidden;
}

.home-v2-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.home-v2-product-card:hover img {
    transform: scale(1.05);
}

.home-v2-product-card > div {
    padding: 22px;
}

.home-v2-product-card span {
    display: inline-flex;
    color: var(--primary);
    background: #e5f5f8;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 900;
}

.home-v2-product-card h3 {
    font-size: 22px;
    line-height: 1.15;
    margin: 13px 0 10px;
}

.home-v2-product-card p {
    color: var(--muted);
    margin: 0;
}

.home-v2-video-section {
    padding: 92px 0;
    background: #fff;
}

.home-v2-video-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px;
    align-items: center;
}

.home-v2-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.home-v2-checks span {
    border: 1px solid var(--line);
    background: #f5fbfc;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 900;
    color: #263b43;
}

.home-v2-video img {
    height: 455px;
}

.home-v2-segments {
    padding-top: 86px;
}

.home-v2-section-head.compact {
    margin-bottom: 22px;
}

.home-v2-segment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-v2-segment-grid article {
    background: linear-gradient(180deg, #fff, #f5fbfc);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 12px 32px rgba(7,21,27,.06);
}

.home-v2-segment-grid b {
    display: block;
    font-size: 21px;
    margin-bottom: 8px;
}

.home-v2-segment-grid p {
    margin: 0;
    color: var(--muted);
}

.home-v2-gallery {
    background: #fff;
}

.home-v2-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    grid-auto-rows: 180px;
    gap: 16px;
}

.home-v2-gallery-grid a {
    display: block;
    border-radius: 26px;
    overflow: hidden;
    background: #dbe8ec;
    box-shadow: 0 14px 36px rgba(7,21,27,.08);
}

.home-v2-gallery-grid a:first-child {
    grid-row: span 2;
}

.home-v2-gallery-grid a:nth-child(4) {
    grid-column: span 2;
}

.home-v2-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.home-v2-gallery-grid a:hover img {
    transform: scale(1.055);
}

.home-v2-final-cta {
    padding-top: 0;
}

.home-v2-cta-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(141,233,244,.22), transparent 34%),
        linear-gradient(135deg, rgba(6,19,24,.96), rgba(8,113,135,.86));
    border-radius: 36px;
    padding: 44px;
    box-shadow: 0 24px 70px rgba(7,21,27,.16);
}

.home-v2-cta-card p {
    color: #d8eef3;
    max-width: 720px;
    margin-top: 12px;
}

.home-v2-cta-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.home-v2-phone {
    color: #fff;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 13px 18px;
}

.home-v2-phone:hover {
    background: rgba(255,255,255,.08);
}

@media (max-width: 1100px) {
    .home-v2-hero-panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 34px;
    }

    .home-v2-hero-inner {
        display: block;
    }

    .home-v2-product-grid,
    .home-v2-segment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-v2-video-grid,
    .home-v2-intro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .home-v2-hero {
        min-height: auto;
    }

    .home-v2-hero-inner {
        padding: 60px 0;
    }

    .home-v2-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .home-v2-hero-panel,
    .home-v2-product-grid,
    .home-v2-segment-grid,
    .home-v2-gallery-grid {
        grid-template-columns: 1fr;
    }

    .home-v2-hero-panel div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .home-v2-hero-panel div:last-child {
        border-bottom: 0;
    }

    .home-v2-section-head {
        display: block;
    }

    .home-v2-section-head .btn {
        margin-top: 18px;
    }

    .home-v2-product-img {
        height: 270px;
    }

    .home-v2-video img {
        height: 320px;
    }

    .home-v2-gallery-grid {
        grid-auto-rows: 245px;
    }

    .home-v2-gallery-grid a:first-child,
    .home-v2-gallery-grid a:nth-child(4) {
        grid-row: span 1;
        grid-column: span 1;
    }

    .home-v2-cta-card {
        display: block;
        padding: 30px 24px;
    }

    .home-v2-cta-actions {
        margin-top: 22px;
    }
}

/* Final combined homepage */
.home-final-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    max-height: 860px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: #fff;
    background: #061318;
}

.home-final-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6,19,24,.93) 0%, rgba(6,19,24,.74) 43%, rgba(6,19,24,.20) 100%),
        url('../img/home-hero.webp') center/cover no-repeat;
}

.home-final-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 20%, rgba(141,233,244,.22), transparent 30%),
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
}

.home-final-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 72px));
    margin: auto;
    display: flex;
    align-items: center;
    padding: 92px 0;
}

.home-final-hero-content {
    max-width: 760px;
}

.home-final-hero .kicker,
.home-final-cta-card .kicker {
    color: #8de9f4;
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
}

.home-final-hero h1 {
    font-size: clamp(42px, 5.8vw, 74px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin: 18px 0;
}

.home-final-hero p {
    max-width: 660px;
    margin: 0;
    color: #d8eef3;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
}

.home-final-hero-panel {
    position: absolute;
    right: 0;
    bottom: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(620px, 52vw);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.11);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
}

.home-final-hero-panel div {
    padding: 22px 24px;
    border-right: 1px solid rgba(255,255,255,.14);
}

.home-final-hero-panel div:last-child {
    border-right: 0;
}

.home-final-hero-panel strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #8de9f4;
}

.home-final-hero-panel span {
    display: block;
    margin-top: 7px;
    color: #d8eef3;
    font-size: 13px;
    font-weight: 800;
}

.home-final-stats-section {
    position: relative;
    z-index: 2;
    margin-top: -54px;
}

.home-final-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-final-stats article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 18px 55px rgba(7,21,27,.11);
}

.home-final-stats span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #e5f5f8;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 16px;
}

.home-final-stats strong {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.home-final-stats p {
    color: var(--muted);
    margin: 0;
}

.home-final-about-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 40px;
    align-items: center;
}

.home-final-about h2,
.home-final-video-section h2,
.home-final-cta-card h2 {
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin: 14px 0 18px;
}

.home-final-about p,
.home-final-video-section p,
.home-final-cta-card p {
    color: var(--muted);
    font-size: 18px;
}

.home-final-about-visual {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(7,21,27,.10);
}

.home-final-about-visual img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.home-final-about-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: rgba(255,255,255,.95);
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.home-final-about-badge b {
    display: block;
    color: var(--primary);
    font-size: 25px;
    line-height: 1;
}

.home-final-about-badge span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    margin-top: 6px;
}

.home-final-products {
    padding-top: 86px;
}

.home-final-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-final-video-section {
    background: #fff;
}

.home-final-video-section .split {
    align-items: center;
}

.home-final-check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
    display: grid;
    gap: 10px;
}

.home-final-check-list li {
    position: relative;
    padding-left: 32px;
    color: #263b43;
    font-weight: 800;
}

.home-final-check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #e5f5f8;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.home-final-assortment {
    padding-top: 86px;
}

.home-final-contact {
    padding-top: 0;
}

.home-final-cta-card {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background:
        radial-gradient(circle at 88% 18%, rgba(141,233,244,.22), transparent 34%),
        linear-gradient(135deg, rgba(6,19,24,.96), rgba(8,113,135,.86));
    color: #fff;
    border-radius: 36px;
    padding: 44px;
    box-shadow: 0 24px 70px rgba(7,21,27,.16);
}

.home-final-cta-card p {
    color: #d8eef3;
    margin: 0;
    max-width: 720px;
}

.home-final-contact-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.home-final-phone {
    color: #fff;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 13px 18px;
}

.home-final-phone:hover {
    background: rgba(255,255,255,.08);
}

@media (max-width: 1100px) {
    .home-final-hero-panel {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 34px;
    }

    .home-final-hero-inner {
        display: block;
    }

    .home-final-about-grid {
        grid-template-columns: 1fr;
    }

    .home-final-stats,
    .home-final-product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .home-final-hero {
        min-height: auto;
    }

    .home-final-hero-inner {
        width: min(1180px, calc(100% - 36px));
        padding: 60px 0;
    }

    .home-final-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .home-final-hero-panel {
        grid-template-columns: 1fr;
    }

    .home-final-hero-panel div {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .home-final-hero-panel div:last-child {
        border-bottom: 0;
    }

    .home-final-about-visual img {
        height: 330px;
    }

    .home-final-cta-card {
        display: block;
        padding: 30px 24px;
    }

    .home-final-contact-actions {
        margin-top: 22px;
    }
}

/* Mobile FIX: hero panel + stats spacing */
@media (max-width: 860px) {
    .home-final-hero {
        padding-bottom: 40px;
        overflow: visible;
    }

    .home-final-hero-inner {
        gap: 28px;
    }

    .home-final-hero-panel {
        margin-bottom: 0;
        position: relative;
        z-index: 2;
    }

    .home-final-stats-section {
        margin-top: 0;
        padding-top: 28px;
        position: relative;
        z-index: 1;
    }
}

/* Product static cards without detail links */
.product-card-static .product-card-img {
    cursor: default;
}

.product-card-static .product-card-body h3 {
    margin-bottom: 12px;
}

.product-spec-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.product-spec-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #f5fbfc, #fff);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 11px 12px;
}

.product-spec-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #e5f5f8;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 19px;
}

.product-spec-item small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3px;
}

.product-spec-item strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.25;
}

.admin-product-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 980px) {
    .admin-product-spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .admin-product-spec-grid {
        grid-template-columns: 1fr;
    }

    .product-spec-item {
        grid-template-columns: 40px 1fr;
    }
}
