:root {
    --navy: #10293d;
    --navy-dark: #161922;
    --yellow: #ffff00;
    --red: #f00707;
    --gray-bg: #f5f6f8;
    --border: #e3e6ea;
    --text: #34383f;
    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    line-height: 1.65;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
}
h2 { font-size: 30px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 16px; }
.muted { color: #6b7280; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.narrow { max-width: 820px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--yellow);
    color: var(--red);
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(255, 255, 0, .35); }
.btn-ghost {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-submit { width: 100%; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 84px;
}
.logo img { height: 48px; width: auto; }
.main-nav {
    display: flex;
    gap: 26px;
    margin-right: auto;
    margin-left: 40px;
}
.main-nav a {
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    display: block;
}

/* Hero */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 140px 0 100px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 41, 61, .82), rgba(16, 41, 61, .72));
}
.hero-inner { position: relative; max-width: 720px; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: var(--yellow);
    font-size: 14px;
    margin-bottom: 12px;
}
.hero h1 {
    color: #fff;
    font-size: 46px;
    margin-bottom: 20px;
}
.hero-lead { font-size: 18px; color: #dfe6ec; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-bg); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: 10px; box-shadow: 0 20px 40px rgba(16, 41, 61, .12); }

.steps { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; align-items: flex-start; gap: 14px; }
.step-num {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--red);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery slider */
.gallery-slider {
    position: relative;
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    outline: none;
    cursor: grab;
}
.gallery-slider.is-dragging { cursor: grabbing; }
.gallery-slide img { pointer-events: none; user-select: none; }
.gallery-track {
    display: flex;
    touch-action: pan-y;
    transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    will-change: transform;
}
.gallery-track.is-dragging { transition: none; }
.gallery-slide {
    flex: 0 0 100%;
    position: relative;
    margin: 0;
    background: var(--gray-bg);
}
.gallery-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.gallery-slide figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 24px;
    background: linear-gradient(180deg, rgba(16, 41, 61, 0), rgba(16, 41, 61, .8));
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    z-index: 2;
    transition: background .15s ease, color .15s ease;
}
.gallery-nav:hover { background: var(--yellow); color: var(--red); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.gallery-dot.is-active { background: var(--yellow); transform: scale(1.25); }

@media (max-width: 600px) {
    .gallery-nav { width: 36px; height: 36px; font-size: 20px; }
    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }
}

/* Requirements */
.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.req-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
}
.req-card img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 16px; }
.req-card h3 { font-size: 18px; margin-bottom: 10px; }
.req-card p { font-size: 14px; color: #6b7280; margin: 0; }
.requirements-cta { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* Contact */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 10px;
    height: 10px;
    background: var(--yellow);
    border-radius: 2px;
}

.split-form {
    background: var(--gray-bg);
    border-radius: 12px;
    padding: 32px;
}
.contact-form .form-row { margin-bottom: 18px; }
.contact-form .form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--navy);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 15px;
    background: #fff;
}
.contact-form input:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.checkbox { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
.checkbox input { width: auto; }
.field-error { color: var(--red); font-size: 13px; display: block; margin-top: 4px; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #e6f7ec; color: #16794a; border: 1px solid #b7e6c8; }
.alert-error { background: #fdeaea; color: #b3261e; border: 1px solid #f5bcb8; }

/* Page header (non-hero pages) */
.page-header {
    padding-top: 56px;
    text-align: center;
}
.page-header h1 { font-size: 36px; }
.hero-lead-dark { font-size: 17px; color: #6b7280; }

/* File list (cenovnici) */
.file-list {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.file-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
}
.file-badge {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.file-name {
    font-weight: 600;
    color: var(--navy-dark);
    overflow-wrap: anywhere;
}
.file-meta { font-size: 13px; color: #6b7280; }
.file-download { flex: none; padding: 10px 22px; font-size: 14px; }

@media (max-width: 600px) {
    .file-list-item { flex-wrap: wrap; }
    .file-download { width: 100%; text-align: center; }
}

/* Map */
.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { display: block; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cbd3dc; padding: 56px 0 0; margin-top: 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-contact h4 { color: #fff; }
.footer-contact a { display: inline-block; margin-bottom: 16px; color: var(--yellow); }
.footer-bottom { padding: 20px 0; font-size: 13px; color: #7c8798; }

/* Responsive */
@media (max-width: 900px) {
    .split, .footer-inner { grid-template-columns: 1fr; }
    .split-reverse .split-media { order: 0; }
    .main-nav {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        margin: 0;
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--border); }
    .nav-toggle { display: flex; }
    .header-actions .btn-primary { display: none; }
    .hero h1 { font-size: 32px; }
    .contact-form .form-row-half, .checkbox-grid { grid-template-columns: 1fr; }
}
