﻿/* 
   Dizajnerski sistem za Čisto Odgušenje
   Boje: Bela, Tamno plava/Grafitna, Akcent Zelena
*/

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: optional;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: optional;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 600;
    font-display: optional;
    src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 600;
    font-display: optional;
    src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Phosphor';
    font-style: normal;
    font-weight: normal;
    font-display: block;
    src: url('../fonts/phosphor-regular.woff2') format('woff2');
}

.ph {
    font-family: 'Phosphor' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ph.ph-arrow-left::before { content: "\e058"; }
.ph.ph-arrow-right::before { content: "\e06c"; }
.ph.ph-article::before { content: "\e0a8"; }
.ph.ph-caret-down::before { content: "\e136"; }
.ph.ph-certificate::before { content: "\e766"; }
.ph.ph-check::before { content: "\e182"; }
.ph.ph-check-circle::before { content: "\e184"; }
.ph.ph-clock::before { content: "\e19a"; }
.ph.ph-list::before { content: "\e2f0"; }
.ph.ph-note-pencil::before { content: "\e34c"; }
.ph.ph-phone::before { content: "\e3b8"; }
.ph.ph-phone-call::before { content: "\e3ba"; }
.ph.ph-shield-check::before { content: "\e40c"; }
.ph.ph-star::before { content: "\e46a"; }
.ph.ph-warning-circle::before { content: "\e4e2"; }
.ph.ph-whatsapp-logo::before { content: "\e5d0"; }

.review-star::before {
    content: "★";
    font-style: normal;
}

:root {
    /* Color Palette */
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #047857;
    --accent-dark: #065f46;
    --accent-soft: #d1fae5;
    --bg-white: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --danger: #ef4444;
    --border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 160ms ease-out;
    --transition: 240ms ease-out;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

::selection {
    color: var(--primary);
    background: var(--accent-soft);
}

:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    background: var(--primary);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.section { padding: var(--section-padding) 0; }
.section-alt { background-color: var(--bg-alt); }
.text-center { text-align: center; }
.accent-text { color: var(--accent); }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    gap: 8px;
    font-size: 1rem;
    border: none;
    min-height: 48px;
    line-height: 1.2;
    touch-action: manipulation;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(4, 120, 87, 0.65);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
.site-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.admin-bar .site-header {
    top: 32px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--accent); 
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    color: var(--primary);
    background: transparent;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 50%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    max-width: 16ch;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-bullet {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.trust-bullet i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--bg-alt);
}

.hero-image img {
    width: 100%;
    object-fit: cover;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .problem-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.card:hover {
    border-color: var(--border);
}

.answer-grid,
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.review-grid {
    align-items: start;
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #b45309;
    font-size: 1.2rem;
}

.review-quote {
    font-style: italic;
}

.review-author {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    font-weight: 600;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* Services */
.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .service-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-list.review-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

@media (min-width: 1024px) {
    .service-list.review-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.review-stars i {
    display: inline-block;
    margin-bottom: 0;
    color: inherit;
    font-size: 1.35rem;
}

.service-item {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

/* Sticky Mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none; /* Desktop hidden */
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px;
    gap: 8px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    pointer-events: none;
}

.sticky-cta.visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.sticky-cta .btn {
    padding: 10px 8px;
    font-size: 0.85rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1002;
    transform: translateY(110%);
    transition: transform 0.5s ease;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    visibility: hidden;
    pointer-events: none;
}

.cookie-consent.show {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.cookie-consent p {
    font-size: 0.9rem;
    margin-right: 20px;
}

.cookie-consent .btn {
    padding: 8px 16px;
    background: var(--accent);
    color: white;
    font-size: 0.9rem;
    white-space: nowrap;
    min-height: 44px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-consent .btn-cookie-secondary {
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    border: 0;
    color: var(--primary);
    font: inherit;
    text-align: left;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows var(--transition);
    background: var(--bg-alt);
}

.faq-answer > * {
    min-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer > * {
    padding: 20px 24px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    color: white;
    font-size: 1.8rem;
}

.footer-description {
    max-width: 42ch;
    margin-top: 16px;
    color: #cbd5e1;
}

.footer-heading {
    margin-bottom: 20px;
    color: white;
    font-size: 1rem;
}

.footer-list {
    display: grid;
    gap: 8px;
    color: #cbd5e1;
}

.footer-legal {
    display: inline-flex;
    margin-top: 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: 44px;
    align-items: center;
}

.footer-list a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.social-links a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
}

.area-links {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.area-links p {
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.area-links div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.area-links a {
    color: #cbd5e1;
    font-size: 0.82rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 4px;
}

.area-links a:hover {
    color: white;
    text-decoration-color: currentColor;
}

.contact-whatsapp {
    border-color: #25d366;
    color: #18783d;
}

.contact-viber {
    border-color: #7360f2;
    color: #5543c4;
}

/* Blog catalogue and article */
.blog-hero {
    padding: calc(var(--header-height) + 72px) 0 72px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 72px;
    align-items: center;
}

.blog-hero h1 {
    max-width: 15ch;
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
}

.blog-hero-grid > div > p {
    max-width: 58ch;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.blog-hero-note {
    display: flex;
    gap: 18px;
    padding: 28px;
    border-radius: 16px;
    color: white;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
}

.blog-hero-note > i {
    flex: 0 0 auto;
    color: #34d399;
    font-size: 2rem;
}

.blog-hero-note strong {
    display: block;
    margin-bottom: 8px;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.blog-hero-note p {
    margin-bottom: 14px;
    color: #cbd5e1;
}

.blog-inline-link,
.blog-read-more,
.blog-back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
}

.blog-hero-note .blog-inline-link {
    color: #6ee7b7;
}

.blog-inline-link:hover,
.blog-read-more:hover,
.blog-back-link:hover {
    text-decoration-color: currentColor;
}

.blog-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
    margin-bottom: 40px;
}

.blog-section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.blog-section-heading p {
    max-width: 42ch;
    color: var(--text-muted);
}

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

.blog-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.blog-card:has(a:hover) {
    border-color: #94a3b8;
    box-shadow: 0 16px 32px -24px rgb(15 23 42 / 0.45);
    transform: translateY(-3px);
}

.blog-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--accent-soft);
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:has(a:hover) .blog-card-media img {
    transform: scale(1.025);
}

.blog-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--accent);
}

.blog-card-placeholder i {
    font-size: 3rem;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.blog-card-meta,
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.blog-card-meta time,
.single-post-meta time {
    font-variant-numeric: tabular-nums;
}

.blog-card h2 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.blog-card h2 a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    margin-bottom: 18px;
    color: var(--text-main);
}

.blog-card-excerpt p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-read-more {
    margin-top: auto;
    align-self: flex-start;
}

.blog-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.blog-empty > i {
    display: block;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 3rem;
}

.blog-empty h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.blog-empty > p {
    max-width: 52ch;
    margin: 0 auto 28px;
    color: var(--text-muted);
}

.blog-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.navigation.pagination {
    margin-top: 48px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .nav-links a::after {
    display: none;
}

.page-numbers {
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.page-numbers.current,
.page-numbers:hover {
    border-color: var(--accent);
    color: white;
    background: var(--accent);
}

.single-post-header {
    padding: calc(var(--header-height) + 64px) 0 56px;
    background: var(--bg-alt);
}

.single-post-narrow {
    max-width: 800px;
}

.blog-back-link {
    margin-bottom: 28px;
}

.single-post-header h1 {
    max-width: 18ch;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    overflow-wrap: anywhere;
}

.single-post-intro {
    max-width: 62ch;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.single-post-featured {
    max-width: 1040px;
    padding-top: 56px;
}

.single-post-featured img {
    width: 100%;
    max-height: 580px;
    border-radius: 16px;
    object-fit: cover;
}

.single-post-content {
    width: 100%;
    min-width: 0;
    padding-top: 64px;
    padding-bottom: 80px;
    font-size: 1.1rem;
    overflow-wrap: break-word;
}

.single-post-content > * + * {
    margin-top: 1.35em;
}

.single-post-content h2,
.single-post-content h3 {
    margin-top: 1.8em;
}

.single-post-content .partner-profile a.btn-primary,
.single-post-content .partner-profile a.btn-primary:hover,
.single-post-content .partner-profile a.btn-primary:focus-visible {
    color: #fff;
    text-decoration: none;
}

.single-post-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.4em;
}

.single-post-content ul {
    list-style: disc;
}

.blog-topic-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    gap: 28px;
    align-items: center;
    margin-block: 28px 38px;
    padding: 28px;
    color: white;
    background: var(--primary);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.18), 0 4px 6px -4px rgb(15 23 42 / 0.16);
}

.blog-topic-cta-copy,
.blog-topic-cta-actions {
    min-width: 0;
}

.blog-topic-cta-title {
    margin: 0 0 8px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-topic-cta-copy > p:not(.blog-topic-cta-title) {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
}

.blog-topic-cta-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 14px !important;
    color: #d1fae5 !important;
    font-size: 0.82rem !important;
}

.blog-topic-cta-note i {
    flex: 0 0 auto;
    margin-top: 0.15em;
    color: var(--focus);
}

.blog-topic-cta-actions {
    display: grid;
    gap: 12px;
}

.blog-topic-cta-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.blog-topic-cta-actions .contact-whatsapp {
    color: white;
}

.blog-topic-cta-actions .btn-outline {
    color: white;
    border-color: #cbd5e1;
}

.blog-topic-cta-actions .btn-outline:hover {
    color: var(--primary);
    background: white;
    border-color: white;
}

.single-post-content blockquote {
    margin-inline: 0;
    padding: 24px 26px;
    color: var(--primary);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.single-post-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    font-size: 1rem;
}

.single-post-content th,
.single-post-content td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.single-post-content th {
    color: var(--primary);
    background: var(--bg-alt);
    font-weight: 700;
}

.single-post-faq {
    margin-top: 64px !important;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: 16px;
}

.single-post-faq h2 {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.single-post-faq h3 {
    margin-top: 24px;
    font-size: 1.45rem;
}

.single-post-faq p {
    margin-top: 8px;
}

.page-content,
.not-found {
    min-height: 60vh;
    padding-top: calc(var(--header-height) + 60px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-grid { gap: 40px; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links, .header-cta { display: none; }
    .mobile-menu-btn { display: block; }

    .nav-links.is-open {
        position: absolute;
        top: var(--header-height);
        left: 0;
        display: flex;
        width: 100%;
        padding: 20px 24px;
        flex-direction: column;
        gap: 4px;
        background: white;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open a {
        width: 100%;
        min-height: 48px;
        padding-inline: 4px;
    }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .trust-bullets { justify-content: center; }

    .answer-grid,
    .review-grid,
    .service-list {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Uvek prikazati tekst pre slike na mobilnom, bez obzira na DOM redosled */
    .hero-grid .hero-content { order: 1; }
    .hero-grid .hero-image { order: 2; }
    
    .sticky-cta { display: grid; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }

    .blog-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

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

    .pagination .nav-links {
        display: flex;
    }

    .blog-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .blog-topic-cta {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 24px;
    }

    .single-post-header {
        padding: calc(var(--header-height) + 40px) 0 40px;
    }

    .single-post-header h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .single-post-intro {
        margin-top: 16px;
        font-size: 1rem;
    }

    .single-post-featured {
        padding-top: 32px;
    }

    .single-post-content {
        padding-top: 40px;
        padding-bottom: 60px;
        font-size: 1rem;
    }

    .single-post-content th,
    .single-post-content td {
        min-width: 150px;
        padding: 10px 12px;
    }

    .single-post-faq {
        margin-top: 48px !important;
        padding: 24px;
    }
    
    .sticky-cta {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }

    body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } /* Space for sticky cta */
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }

    .container { padding-inline: 18px; }

    .section { padding-block: 52px; }

    .hero {
        padding-top: calc(var(--header-height) + 44px);
        padding-bottom: 64px;
    }

    .hero p {
        font-size: 1.125rem;
        margin-bottom: 28px;
    }

    .hero-ctas { margin-bottom: 28px; }

    .trust-bullets { gap: 14px 18px; }

    .sticky-cta .btn {
        min-height: 46px;
        padding-inline: 6px;
        font-size: 0.78rem;
    }

    .blog-hero {
        padding: calc(var(--header-height) + 44px) 0 52px;
    }

    .blog-hero h1 {
        font-size: 2.35rem;
    }

    .blog-hero-note {
        padding: 22px;
    }

    .blog-empty {
        padding: 48px 8px;
    }

    .blog-empty-actions {
        flex-direction: column;
    }

    .blog-empty-actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .cookie-consent {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .cookie-consent p {
        margin-right: 0;
    }

    .cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nav-links a::after,
    .btn,
    .faq-answer,
    .faq-question i,
    .sticky-cta,
    .cookie-consent {
        transition: none;
    }
}

/* Lenis Smooth Scroll Base */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
/* Visibility Utilities */
.desktop-only { display: inline; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline !important; }
}
