/* CSS za landing stran: Digitalni Jedilnik (B2B) v2 in Hub Poslovno */

/* Hero sekcija z dodano grafiko */
.hero-section {
    padding: 60px 20px 40px;
    background-color: var(--bg-block);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mobile-only-visual {
    display: none; /* Skrijemo na desktopu, ker imamo Live Demo nižje */
}



.hero-cta-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius-full, 30px);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-cta-btn.secondary {
    background-color: var(--bg-main);
    color: var(--text-main);
    border: 2px solid var(--border-color);
    box-shadow: none;
    margin-left: 10px;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark, #0d9488);
    color: #fff;
}

.hero-cta-btn.secondary:hover {
    background-color: var(--border-color);
    color: var(--text-main);
}

.hero-mockup {
    margin-top: 40px;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Phone Mockup Styling */
.phone-mockup {
    width: 100%;
    max-width: 375px; /* Standard mobile width */
    height: 600px;
    background: #111;
    border-radius: 40px;
    padding: 15px 12px 25px 12px; /* Več paddinga spodaj in zgoraj za lepši okvir */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    margin: 0 auto;
    border: 2px solid #333;
    flex-shrink: 0;
    box-sizing: border-box;
}

.phone-notch {
    position: absolute;
    top: 15px; /* Poravnano z novim paddingom */
    left: 50%;
    transform: translateX(-50%);
    width: 140px; /* Širši zarez (notch/island) */
    height: 30px;
    background: #111;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    border-radius: 28px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

/* Hard fix za Chrome/Edge iframe scrollbar - skrito znotraj iframe dokumenta, zato normalna širina */
.phone-screen iframe {
    width: 100%;
    border: none;
    background: transparent;
    margin-top: 30px;
    height: calc(100% - 30px);
    display: block;
}

/* FIX: Zaviranje sistemskega scrollbara na vseh iframe-ih znotraj mockupa */
.phone-screen iframe::-webkit-scrollbar,
.kds-screen iframe::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}

/* KDS iframe scrollbar fix */
.kds-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    overflow: hidden;
}

/* Static mockup specific overrides (for static images in phone mockups) */
.static-mockup {
    max-width: 300px; /* Zmerna širina, da ni preveliko */
    height: auto; /* Višina se samodejno prilagodi sliki - BREZ rezanja in BREZ fiksne višine */
    margin: 0 auto;
}

.static-mockup .phone-screen {
    height: auto; /* Zaslon se prilagodi celotni sliki */
    background: #111;
    overflow: hidden; /* Popolnoma onemogočeno skrolanje */
    display: block; /* Odstranimo flexbox, da slika naravno zapolni prostor */
}

.static-mockup .phone-screen img {
    width: 100%;
    height: auto; /* Slika se prikaže v celoti v pravem razmerju */
    display: block;
    margin: 0;
}

/* ==========================================================================
   INTERACTIVE SERVICES SWIMLANE
   ========================================================================== */
.interactive-swimlane {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 40px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    align-items: flex-start;
}

.interactive-swimlane::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.int-service-card {
    flex: 0 0 96%; /* Še širše kartice na mobilniku */
    max-width: 420px;
    scroll-snap-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.int-service-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.int-service-visual {
    background: var(--bg-body);
    /* height: 580px; Odstranimo fiksno višino */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 30px 0 30px 0; /* Padding zgoraj in spodaj */
    border-bottom: 1px solid var(--border-color);
}

.int-service-visual .phone-mockup {
    /* Namesto transform: scale, ki pušča prevelik layout prostor, neposredno zmanjšamo širino */
    width: 260px; /* To avtomatsko proporcionalno zmanjša tudi višino */
    max-width: 90%;
    transform: none; /* Odstranimo transform */
    margin: 0;
    transition: transform 0.3s ease;
}

.int-service-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
}

.int-service-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.int-service-header .icon-arrow {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.int-service-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-card);
}

.int-service-card.active .int-service-body {
    max-height: 400px;
}

.int-service-card.active .icon-arrow {
    transform: rotate(180deg);
}

.int-service-card.active {
    border-color: var(--primary);
}

.int-service-body-inner {
    padding: 0 20px 20px 20px;
}

.int-service-body-inner p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ==========================================================================
   PROBLEM & SOLUTION SECTION
   ========================================================================== */
.problem-solution-section {
    padding: 60px 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.problem-solution-container {
    max-width: 900px;
    margin: 0 auto;
}

.problem-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--bg-body);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--danger, #ef4444);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
}

.problem-card-icon {
    color: var(--danger, #ef4444);
    font-size: 24px;
    margin-bottom: 15px;
    background: rgba(239, 68, 68, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.problem-card-title {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}

.problem-card-text {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 15px;
    margin: 0;
}

.solution-box {
    background: rgba(0, 184, 148, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 184, 148, 0.2);
    margin-top: 50px;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.solution-intro {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.solution-card {
    background: var(--bg-body);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-3px);
}

.solution-card-icon {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    background: rgba(15, 118, 110, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.solution-card-title {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}

.solution-card-text {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 15px;
    margin: 0;
}

/* Sekcija "Kako deluje" / Storitve */
.features-section {
    padding: 60px 20px;
    background-color: var(--bg-main);
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.feature-card {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Swimlane za Storitve (Hub) */
.services-swimlane-wrapper {
    position: relative;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto; /* Prostor za puščice na desktopu */
}

.swimlane-arrow {
    display: none; /* Skrito na mobilnikih, kjer se uporablja touch swipe */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-block);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.swimlane-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.swimlane-arrow.prev {
    left: -10px;
}

.swimlane-arrow.next {
    right: -10px;
}

.services-swimlane {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.services-swimlane::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.service-card {
    flex: 0 0 85%;
    max-width: 320px;
    scroll-snap-align: start;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-card .icon {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    background: rgba(15, 118, 110, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.5;
    font-size: 15px;
}

.service-card a {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: bold;
    text-align: center;
    transition: all 0.2s ease;
}

.service-card a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Zaključni CTA */
.bottom-cta {
    padding: 60px 20px;
    background-color: var(--bg-block);
    color: var(--text-main);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.bottom-cta h2 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    padding: 0;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.bottom-cta p {
    margin: 0 auto 30px auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.bottom-cta-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 18px 40px;
    border-radius: var(--radius-full, 30px);
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
    transition: all 0.2s ease;
}

.bottom-cta-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark, #0d9488);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
    color: #fff;
}

/* B2B Kontaktna Forma */
.b2b-form {
    margin-top: 30px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.b2b-form .form-group {
    margin-bottom: 20px;
}

.b2b-form .form-row {
    display: flex;
    gap: 20px;
}

.b2b-form .half {
    flex: 1;
}

.b2b-form input, .b2b-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    color: var(--text-main);
    border-radius: var(--radius-sm, 8px);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.b2b-form input::placeholder, .b2b-form textarea::placeholder {
    color: var(--text-muted);
}

.b2b-form input:focus, .b2b-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Sporočila o uspehu / napaki */
.form-message-box {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-sm, 8px);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

/* Pomožni razredi za mobilnike */
.mobile-break {
    display: none;
}

@media (max-width: 767px) {
    .services-swimlane-wrapper {
        padding: 0 !important; /* Prisilna odstranitev vseh paddingov na wrapperju na mobilniku */
        margin: 0 -20px; /* Negativen margin, da se izniči padding od glavnega containerja, če ga ima */
    }
    
    .interactive-swimlane {
        padding-left: 20px; /* Padding znotraj drsnika, da prva kartica ne bo čisto ob robu */
        padding-right: 20px;
    }

    .int-service-card {
        flex: 0 0 88%; /* Optimalna širina za edge-to-edge občutek, a pusti vidno naslednjo kartico */
        max-width: none; /* Odstranimo max-width na mobilniku */
    }

    .mobile-break {
        display: block;
    }
}

.form-message-box.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message-box.error {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger, #dc2626);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Prilagoditev za mobilne naprave pri formi in gumbih */
@media (max-width: 600px) {
    .b2b-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .b2b-form input, .b2b-form textarea {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .b2b-submit-btn-mobile {
        width: 100% !important;
        display: block !important;
        padding: 18px 20px !important;
        box-sizing: border-box !important;
    }

    .hero-cta-btn.secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .services-swimlane-wrapper {
        padding: 0; /* Odstranimo padding na mobilnikih, kjer ni puščic */
    }
}

@media (min-width: 768px) {
    .features-grid {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }
    .feature-card {
        flex: 1;
        margin-bottom: 0;
    }
    .hero-section {
        padding: 40px 20px;
    }
    .swimlane-arrow {
        display: flex; /* Prikaži puščice samo na desktopu */
    }

    /* Desktop prilagoditve za interaktivne kartice */
    .int-service-card {
        flex: 0 0 350px; /* Malce širša kartica, da telefon bolje "diha" */
    }
    
    .int-service-visual {
        /* Odstranjeno staro fiksno pomanjševanje, pustimo, da se prilagaja */
        height: 520px; /* Zmanjšan okvir kartice na idealno velikost za desktop */
        padding: 30px 0;
    }
    
    .int-service-visual .phone-mockup {
        width: 290px; /* Na desktopu konkreten telefon */
        max-width: 95%; /* Dovolimo, da zavzame večino širine kartice */
        transform: none; 
    }

    .int-service-card:hover .phone-mockup {
        transform: translateY(-5px); /* Namesto zooma samo rahel premik gor ob hoverju */
    }
}

@media (min-width: 992px) {
    .services-swimlane-wrapper {
        padding: 0 60px;
    }
    
    .swimlane-arrow {
        display: flex;
    }
    
    .service-card {
        flex: 0 0 300px;
    }

    /* DESKTOP FIX ZA TELEFONE V SWIMLANEU */
    .int-service-visual {
        height: 520px;
        padding: 30px 0; 
    }
    
    .int-service-visual .phone-mockup {
        width: 260px; /* Zmanjšan telefon, da se ne odreže zgoraj in spodaj */
        max-width: 95%;
    }
}

/* ==========================================================================
   PDF MOCKUP (STUDIO SWIMLANE)
   ========================================================================== */
.pdf-mockup {
    flex: 0 0 280px;
    background: var(--bg-card); /* Prilagodi se light/dark temi */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark-theme .pdf-mockup {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
}

.pdf-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

body.dark-theme .pdf-mockup:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pdf-mockup img {
    width: 100%;
    /* Razmerje 4:5 je 1:1.25. Za širino 280px je višina 350px */
    aspect-ratio: 1 / 1.25;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid var(--border-color);
    display: block;
    
    /* Prepreči zamegljenost z odstranitvijo optimizacij, ki povzročajo težave na Chromu */
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

.pdf-label {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: var(--text-main);
    background: transparent;
    font-size: 0.95rem;
}

/* --- NEW EXTRACTED CLASSES FROM INLINE STYLES --- */
.poslovno-main {
    min-height: calc(100vh - 120px);
}
.hero-container {
    position: relative;
}
.interactive-services-section {
    padding: 20px 0 60px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}
.interactive-services-header {
    text-align: center;
    margin-bottom: 20px;
}
.interactive-services-header h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}
.interactive-services-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.hero-cta-btn.sm {
    padding: 10px 20px;
    font-size: 1rem;
}
.int-service-body-inner-cta {
    text-align: center;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.honeypot-wrapper {
    position: absolute;
    left: -9999px;
    opacity: 0;
}
.b2b-form-submit-wrapper {
    text-align: center;
    margin-top: 10px;
}
.b2b-submit-btn {
    border: none;
    cursor: pointer;
    width: 100%;
}
.b2b-form-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.b2b-form-footer a {
    color: var(--text-main);
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}
.b2b-form-footer a:hover {
    color: var(--primary);
}
.b2b-form-footer i {
    color: var(--primary);
    margin-right: 5px;
}

/* --- REFACTORED INLINE STYLES FOR LANDING PAGES --- */
.text-center { text-align: center; }
.text-xs { font-size: 12px; }
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mr-8 { margin-right: 8px; }
.mb-50 { margin-bottom: 50px; }
.mx-auto { margin: 0 auto; }
.px-20 { padding: 0 20px 0 20px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.flex-gap-5 { display: flex; gap: 5px; }
.pos-relative { position: relative; }
.transition-transform { transition: transform 0.3s; }
.img-cover-full { width: 100%; height: 100%; object-fit: cover; }
.img-cover-block { width: 100%; height: 100%; object-fit: cover; display: block; }
.text-center-mb20 { text-align: center; margin-bottom: 20px; }
.text-center-mb40 { text-align: center; margin-bottom: 40px; }
.max-w-800-mx-auto { max-width: 800px; margin: 0 auto; }

/* Components */
.partner-icon-title { font-size: 24px; margin-bottom: 10px; display: block; }
.partner-subtitle { max-width: 600px; margin: 0 auto 20px auto; }
.partner-subtitle-lg { max-width: 600px; margin: 0 auto 30px auto; }

.jedilnik-title { font-size: 28px; margin-bottom: 20px; color: var(--text-main); }
.jedilnik-subtitle { color: var(--text-muted); font-size: 16px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

.section-bg-main-py60 { padding: 60px 20px; background-color: var(--bg-main); }
.section-bg-main-py80 { padding: 80px 20px; background-color: var(--bg-main); }
.section-bg-body-pt40-pb80 { padding: 40px 20px 80px 20px; background-color: var(--bg-body); }

.split-container { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.split-col { flex: 1; min-width: 300px; }
.split-col-center { flex: 1; min-width: 300px; text-align: center; }
.split-title { font-size: 2.2rem; margin-bottom: 20px; color: var(--text-main); }
.split-text { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

.feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; color: var(--text-main); }
.feature-list-item { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 10px; }
.feature-list-icon { width: 24px; height: 24px; background: rgba(15, 118, 110, 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

.studio-main-title { font-size: 2.2rem; color: var(--text-main); margin-bottom: 15px; }
.studio-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.alergen-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--text-main); }
.alergen-banner { padding: 40px 20px; background-color: var(--bg-card); text-align: center; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.alergen-banner-title { font-size: 1.8rem; margin-bottom: 15px; color: var(--text-main); }
.alergen-banner-text { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 25px; }
.alergen-card-demo { background: var(--bg-block); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: inline-block; text-align: left; }
.alergen-disclaimer { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; text-align: center; }
.alergen-item-box { background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; margin-bottom: 15px; }
.alergen-item-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.alergen-item-val { font-weight: 600; color: var(--text-main); }
.alergen-tag { background: var(--bg-block); border: 1px solid var(--border-color); padding: 2px 6px; border-radius: 4px; font-size: 11px; color: var(--text-main); }
.alergen-feature-icon { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; margin: 0 auto 10px; }
.alergen-feature-title { margin-bottom: 5px; color: var(--text-main); }

/* Utility classes */
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-15 { margin-top: 15px; }

/* ==========================================================================
   LIVE DEMO SEKCIJA
   ========================================================================== */
.live-demo-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.demo-title {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.demo-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.demo-desktop-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.demo-label {
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-mockup.interactive,
.kds-mockup.interactive {
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.phone-mockup.interactive:hover,
.kds-mockup.interactive:hover {
    transform: translateY(-5px);
}

.phone-screen iframe,
.kds-screen iframe {
    width: 100%;
    border: none;
    background: #fff;
}

.kds-screen iframe {
    height: 100%;
}

/* KDS Mockup for desktop */
.kds-mockup {
    width: 520px; /* Še malo zožamo, ker smo razširili telefon */
    height: 600px;
    background: #222;
    border-radius: 20px;
    padding: 15px;
    border: 2px solid #444;
    position: relative;
    box-sizing: border-box;
}

.kds-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    border-radius: 12px;
    overflow: hidden;
}

.mobile-only-raw-iframe {
    display: none;
}

.demo-mobile-view {
    display: none;
}

@media (max-width: 991px) {
    .mobile-only-visual {
        display: none; /* Odstranili smo statični mockup zgoraj, ker imamo interaktivnega spodaj */
    }
    
    .desktop-only-section {
        display: none !important;
    }
    
    /* Na mobilniku želimo prikazati demo grid, ampak samo telefon (kds skrijemo) */
    .demo-desktop-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .desktop-only-kds,
    .desktop-only-phone {
        display: none;
    }
    
    .mobile-only-raw-iframe {
        display: block;
        width: 100%;
        background: transparent;
        border: none;
    }
    
    .mobile-only-raw-iframe .phone-mockup {
        width: 100% !important; 
        max-width: 500px !important; 
        height: 75vh; /* Uporabimo viewport height, da je sorazmerno s telefonom */
        min-height: 600px;
        max-height: 800px;
        padding: 10px 4px 20px 4px; /* Lepa 20px "brada" spodaj */
        border-radius: 32px;
        border-width: 1px; /* Tanjši zunanji rob */
    }
    
    .mobile-only-raw-iframe .phone-screen {
        border-radius: 28px; /* Vrnjeni lepi zaobljeni koti, ki pašejo v mockup */
    }

    .mobile-only-raw-iframe iframe {
        width: 100%;
        height: calc(100% - 30px); /* KLJUČNO: Odštejemo 30px od islanda zgoraj, da ne potisne dna izven ekrana! */
        margin-top: 30px;
        border: none;
    }
    
    .demo-phone-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .demo-mobile-view {
        display: block;
        margin-top: 30px;
        width: 100%;
        max-width: 100%; /* Pustimo da gre do roba */
        margin-left: auto;
        margin-right: auto;
    }
    
    .demo-mobile-view.px-20 {
        padding-left: 10px; /* Zmanjšan padding samo za to sekcijo */
        padding-right: 10px;
    }
    
    .demo-mobile-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .demo-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 20px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 16px;
        text-decoration: none;
        transition: transform 0.2s ease;
    }
    
    .demo-btn:hover {
        transform: translateY(-2px);
    }
    
    .guest-btn {
        background: var(--primary);
        color: white;
    }
    
    .kitchen-btn {
        background: var(--bg-block);
        color: var(--text-main);
        border: 2px solid var(--border-color);
    }
    
    .live-demo-section {
        padding: 25px 15px;
    }
}

/* ==========================================================================
   HOW IT WORKS SECTION (VIDEO + STEPS)
   ========================================================================== */
.how-it-works-section {
    background-color: var(--bg-light);
}

.how-it-works-header p {
    max-width: 600px;
    margin: 0 auto;
}

.how-it-works-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.how-it-works-col {
    width: 100%;
}

.how-it-works-video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.how-it-works-video video {
    display: block;
    max-width: 100%;
    height: auto;
}

.how-it-works-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.how-it-works-step:last-child {
    margin-bottom: 0;
}

.how-it-works-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 24px;
}

/* FAQ Accordion */
.faq-section {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

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

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-card);
}

/* Fallback za strani brez JS kalkulacije višine (npr. seznam-alergenov.php) */
.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}
.roi-section {
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.roi-card {
    background: var(--bg-card);
    padding: 40px 40px 30px 40px; /* Zmanjšan spodnji padding */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.roi-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.roi-desc {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
}

.roi-calculation {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-family: monospace;
}

.roi-number {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.roi-multiply {
    color: var(--text-muted);
}

.roi-total {
    font-size: 2rem; /* Zmanjšano iz 2.5rem */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1;
}

.roi-total-label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.roi-divider {
    width: calc(100% + 80px); /* 100% širine vsebine + 40px paddinga na vsaki strani */
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
    flex-shrink: 0;
}

.roi-solution {
    color: var(--primary);
    font-size: 1.15rem; /* Povečana velikost pisave */
    font-weight: 700; /* Malo bolj odebeljeno */
    text-align: center;
    margin: 0;
}

.roi-solution i {
    margin-right: 8px;
}

.how-it-works-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.how-it-works-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 992px) {
    .how-it-works-grid {
        flex-direction: row;
        align-items: center;
    }
    
    .how-it-works-col {
        flex: 1;
        min-width: 300px;
    }
}

/* Mobile optimizacije za novejše iOS naprave, ki bolj zoomirajo */
@media (max-width: 480px) {
    .roi-card {
        padding: 25px 20px 20px 20px;
    }
    
    .roi-divider {
        width: calc(100% + 40px); /* Prilagojeno manjšemu paddingu (20px levo + 20px desno) */
        margin: 15px 0;
    }
    
    .roi-number {
        font-size: 1.2rem;
    }
    
    .roi-total {
        font-size: 1.6rem;
    }
    
    .roi-solution {
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px 20px;
    }
}
