:root {
    /* Colors */
    --color-bg: #ffffff;
    --color-text-main: #111111;
    --color-text-muted: #555555;
    --color-accent: #facc15;
    /* Sýto žltá */
    --color-border: rgba(0, 0, 0, 0.1);
    --color-glass: rgba(0, 0, 0, 0.03);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper > main {
    flex: 1;
}

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

/* Header */
.header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.target-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Navigation */
.main-nav {
    margin-left: auto;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 201;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-main);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
    transform-origin: center;
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.main-nav a.nav-cta {
    background-color: var(--color-accent);
    color: #111111;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-weight: 600;
}

.main-nav a.nav-cta:hover {
    background-color: #111111;
    color: #ffffff;
}

/* ==========================================================================
   8. SPECIFIC PAGES
   ========================================================================== */

/* --- O nas (New Redesign) --- */

.on-hero-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.on-hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.on-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-main);
    margin-top: 1.5rem;
}

.on-team-photo {
    width: 85%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    margin: 4rem auto 4rem;
    display: block;
}

/* ── Služby page ────────────────────────────────── */
.sl-hero-subtitle {
    font-size: 1.1rem;
}

.sl-text-block {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sl-text-para {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

.sl-yellow-box {
    background-color: var(--color-accent);
    border-radius: 14px;
    padding: 2rem 3rem;
    max-width: 920px;
    margin: 0 auto 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.sl-yellow-box-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 0.25rem;
}

.sl-yellow-box p {
    font-size: 1rem;
    line-height: 1.75;
    color: #111111;
    margin: 0;
}

.sl-pricetable-wrap {
    max-width: 920px;
    margin: 3rem auto 4rem;
}

.sl-diag-block {
    max-width: 920px;
    margin: 0 auto 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2.5rem 3rem;
    background-color: var(--color-accent);
    border-radius: 14px;
}

.sl-diag-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.sl-diag-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.sl-diag-note {
    font-weight: 600;
    color: var(--color-text-main);
}

.sl-link-baliky {
    color: var(--color-text-main);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: opacity 0.15s ease;
}

.sl-link-baliky:hover {
    opacity: 0.65;
}

.sl-diag-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.sl-diag-cta-btn {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.85rem 2.25rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sl-diag-cta-btn:hover {
    background-color: #ffffff;
    color: #111111;
}

.sl-diag-mini {
    font-size: 0.85rem;
    color: var(--color-text-main);
    opacity: 0.65;
}

/* Súhrn zadania */
.sl-zadanie-wrap {
    display: none;
    max-width: 920px;
    margin: 0 auto 5rem;
    background: #f7f7f7;
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 2.5rem 3rem;
}

.sl-zadanie-wrap.visible {
    display: block;
}

.sl-zadanie-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1.25rem;
}

.sl-zadanie-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.sl-zadanie-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    color: var(--color-text-main);
    padding: 0.65rem 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.sl-zadanie-diag {
    font-weight: 700;
}

.sl-zadanie-check {
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}

.sl-firma-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.sl-firma-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
}

.sl-firma-input:focus {
    border-color: var(--color-accent);
}

.sl-firma-input.sl-firma-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23facc15' stroke-width='3' fill='none' stroke-dasharray='31.4' stroke-dashoffset='10'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.sl-firma-wrap {
    position: relative;
}

.sl-firma-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid var(--color-accent);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 200;
    overflow: hidden;
}

.sl-firma-dropdown.open {
    display: block;
}

.sl-firma-option {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.sl-firma-option:last-child {
    border-bottom: none;
}

.sl-firma-option:hover {
    background-color: #fefce8;
}

.sl-firma-opt-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.sl-firma-opt-meta {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Override search-wrapper inside zadanie section — plain style, not hero */
.sl-search-wrapper {
    max-width: 100%;
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.sl-search-wrapper .company-search-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease;
    box-shadow: none;
}

.sl-search-wrapper .company-search-input:focus {
    border-color: var(--color-accent);
}

.sl-search-wrapper .orsr-dropdown {
    border: 1.5px solid var(--color-accent);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sl-pricetable-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 2rem;
}

.sl-pricetable {
    width: 100%;
    border-collapse: collapse;
}

.sl-pricetable thead tr {
    border-bottom: 2px solid var(--color-text-main);
}

.sl-th-service {
    text-align: left;
}

.sl-th-service,
.sl-th-price {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    padding: 0.75rem 1rem 0.75rem 0;
}

.sl-th-price {
    text-align: right;
    padding-right: 0;
    white-space: nowrap;
}

.sl-pricetable tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.sl-pricetable tbody tr:hover {
    background-color: var(--color-bg-alt, #f5f5f3);
}

.sl-pricetable td {
    padding: 1.25rem 1rem 1.25rem 0;
    vertical-align: top;
}

.sl-pricetable td:last-child {
    padding-right: 0;
}

.sl-service-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.3rem;
}

.sl-service-desc {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.sl-price-cell {
    text-align: right;
    vertical-align: top;
    padding: 1.25rem 0;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.sl-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

.sl-pick-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 0.25rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sl-pick-btn:hover {
    border-color: var(--color-text-main);
    color: var(--color-text-main);
}

.sl-pick-btn.selected {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

.sl-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-bottom: 4rem;
}

.sl-card {
    background-color: var(--color-bg-alt, #f5f5f3);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    cursor: default;
}

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

.sl-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.sl-card:hover .sl-card-title {
    color: #ffffff;
}

.sl-card-desc {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.sl-card:hover .sl-card-desc {
    color: #111111;
}

.sl-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.sl-card-list li {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.sl-card-list li::before {
    content: "✔";
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
}

.sl-card:hover .sl-card-list li::before {
    color: #ffffff;
}

/* ─────────────────────────────────────────────── */
.on-yellow-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.on-yellow-card {
    background-color: var(--color-accent);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.on-closing {
    text-align: center;
    margin-top: 4rem;
    padding-bottom: 2rem;
}

.on-closing-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

.on-closing-cta {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.on-closing-cta:hover {
    background-color: var(--color-accent);
    color: #111111;
}

.on-yellow-card p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #111111;
    margin: 0;
}

.on-cert-slideshow {
    position: relative;
    width: 60%;
    max-width: 600px;
    margin: 4rem auto 2rem;
    /* výška sa nastaví cez JS po načítaní obrázkov */
}

.on-cert-slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.on-cert-slide.active {
    opacity: 1;
}

.on-team-statement-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.on-team-statement {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.on-team-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;

}

.on-principle-cards-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Makem the cards narrower */
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.on-principle-card {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    background-color: #151515;
    border: 1px solid #222222;
    border-radius: 12px;
}

.on-principle-card-text {
    font-weight: 500;
    text-align: left;
    margin-bottom: 0;
    color: #f3f4f6;
    line-height: 1.5;
    font-size: 1.05rem;
}

.on-principle-check {
    color: var(--color-accent);
    font-size: 1.3rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.on-photo-placeholder-square {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-glass);
    border: 2px dashed var(--color-border);
    border-radius: 12px;
    padding: 4rem;
}

.on-photo-placeholder-square p {
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2vh 0 10vh 0;
    /* Lets content center but keeps clear of bottom arrow */
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 5.25vw, 5.8rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-top: clamp(2rem, 5vh, 6rem);
    margin-bottom: clamp(3rem, 7vh, 6rem);
}

.text-accent {
    color: var(--color-accent);
}

.text-strong {
    color: var(--color-text-main);
}

.nowrap {
    white-space: nowrap;
}

.changing-word {
    display: inline-block;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 0 0 clamp(3rem, 8vh, 6rem) 0;
    width: 100%;
}

.stat-card {
    background: linear-gradient(0deg, var(--color-glass) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom: 2px solid var(--color-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom-color: var(--color-accent);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-unit {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
}

.stat-desc {
    color: var(--color-text-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    line-height: 1.5;
}

/* Search Section */
.search-wrapper {
    position: relative;
    max-width: 700px;
}

.company-search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    padding-right: 4rem;
    font-size: 1.25rem;
    font-family: var(--font-body);
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    color: var(--color-text-main);
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.company-search-input::placeholder {
    color: var(--color-text-muted);
}

.company-search-input:focus {
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.15);
}

.search-icon-wrapper {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    animation: pulse 2.5s infinite ease-in-out;
    transition: color 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    color: var(--color-text-main);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, 0);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, 5px);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 0.7;
    }
}

/* Next Content Section */
.content-section {
    background-color: var(--color-bg);
    min-height: 100vh;
    padding: 8rem 0;
    position: relative;
    z-index: 3;
}

.on-section-no-padding-top {
    padding-top: 0;
    min-height: unset;
}

.on-hero {
    flex: none;
    padding: 3rem 0 0;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 6rem auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.feature-card-dark {
    background-color: #111111;
    color: #ffffff;
    border-color: #222222;
}

.feature-card-dark .feature-title {
    color: var(--color-accent);
}

.feature-card-dark .feature-text {
    color: rgba(255, 255, 255, 0.7);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-accent);
    min-height: 5.5rem;
    /* Zohľadňuje presne 3 riadky s malou rezervou */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Diagnostics Section */
.diag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.diag-card {
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.diag-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.diag-card-dark {
    background-color: #111111;
    color: #ffffff;
    border-color: #222222;
}

.diag-card-dark .diag-title,
.diag-card-dark .text-accent {
    color: var(--color-accent) !important;
}

.diag-card-dark .diag-text,
.diag-card-dark .diag-list li {
    color: rgba(255, 255, 255, 0.7);
}

.diag-card-yellow {
    background-color: var(--color-accent);
    color: #111111;
    border-color: var(--color-accent);
}

.diag-card-yellow .diag-title {
    color: #111111;
}

.diag-card-yellow .diag-text {
    color: #333333;
}

.diag-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.diag-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.diag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diag-list li {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.text-center {
    text-align: center;
    align-items: center;
}

.flex-column-between {
    justify-content: space-between;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-bg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

.diag-card-yellow .btn-primary {
    background-color: #111111;
    color: #ffffff;
}

.diag-card-yellow .btn-primary:hover {
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.2);
}

.diag-footer {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

.link-strong {
    color: var(--color-text-main);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
    font-weight: 600;
}

.link-strong:hover {
    text-decoration-color: var(--color-accent);
}

/* Packages Section */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.package-card {
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.package-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
    z-index: 2;
}

.package-featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.1);
}

.package-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111;
    color: #ffffff;
    padding: 0.25rem 1.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-border);
    white-space: nowrap;
    z-index: 2;
}

.package-featured .package-badge {
    background-color: var(--color-accent);
    color: #111;
    border: none;
    font-weight: 800;
}

.package-featured:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.2);
}

.package-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.package-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.package-price span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
}

.package-section {
    margin-bottom: 2rem;
}

.package-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.package-section p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.package-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-list li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.package-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-list-simple li {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.package-list-simple li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-muted);
}

.package-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
}

.package-footer p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 500;
}

.mt-auto {
    margin-top: auto;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.text-muted-small {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.5);
}

.packages-final {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.final-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.final-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Background effects */
.bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: none;
    z-index: -1;
    pointer-events: none;
    transform: translate(-30%, -30%);
}

/* Comparison Section */
.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

#porovnanie .section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

#porovnanie .section-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.comparison-header .comp-col {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
}

.comp-left {
    background-color: #f1f1f1;
    color: #555555;
    border: 1px solid var(--color-border);
}

.comp-right {
    background-color: var(--color-accent);
    color: #111111;
}

.comparison-row .comp-col {
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.comparison-row .comp-left {
    background-color: #ffffff;
    opacity: 0.9;
}

.comparison-row .comp-left h4 {
    color: #555555;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}

.comparison-row .comp-right {
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-row .comp-right h4 {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333333;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.comp-list-cross li {
    color: #777777;
}

.comp-list-cross li span {
    color: #ff4d4d;
    font-weight: bold;
}

.comp-list-check li {
    color: rgba(255, 255, 255, 0.9);
}

.comp-list-check li span {
    color: var(--color-accent);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    /* Hide pulsing scroll arrows on mobile */
    .scroll-indicator {
        display: none;
    }

    /* CTA secondary links — stack vertically, hide bullet */
    .cta-links-row {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .cta-sep {
        display: none !important;
    }

    /* Mobile nav — compact dropdown panel */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    .main-nav {
        display: none;
        margin-left: 0;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0.75rem;
        /* top is set by JS (= header height) */
        background: #111112;
        z-index: 1000;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 8px 32px rgba(0,0,0,0.55);
        overflow: hidden;
        padding: 0;
    }
    .nav-close-btn {
        display: flex;
        align-self: flex-end;
        background: none;
        border: none;
        cursor: pointer;
        color: rgba(255,255,255,0.4);
        font-size: 1.5rem;
        line-height: 1;
        padding: 0.5rem 0.8rem 0.2rem;
    }
    .nav-close-btn:hover { color: #fff; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav a {
        font-size: 1rem;
        font-weight: 500;
        color: rgba(255,255,255,0.88);
        padding: 0.82rem 1.5rem;
        display: block;
        white-space: nowrap;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        letter-spacing: 0.01em;
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--color-accent);
    }
    .main-nav a.nav-cta {
        background: var(--color-accent);
        color: #111;
        padding: 0.55rem 1.4rem;
        font-size: 0.95rem;
        font-weight: 700;
        border-bottom: none;
        display: inline-block;
        margin: 0.6rem 1.5rem 0.9rem;
        border-radius: 100px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        margin-bottom: 3rem;
        font-size: clamp(2.2rem, 8.5vw, 3.2rem);
    }

    .company-search-input {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
        padding-right: 3.5rem;
    }

    /* O nás — certifikát: menej miesta nad/pod */
    .on-cert-slideshow {
        width: 85%;
        margin: 1.5rem auto 1rem;
    }

    /* O nás — žlté karty pod sebou, centrované */
    .on-yellow-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-row {
        gap: 1.5rem;
    }
}

/* Qualifications & Testimonials Section */
.qualification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 920px;
    margin: 0 auto;
}

.mb-6 {
    margin-bottom: 6rem;
}

.qual-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.qual-no {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
}

.qual-yes {
    background-color: var(--color-accent);
    color: #111111;
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.2);
}

.qual-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.qual-no h3 {
    color: #333333;
}

.qual-yes h3 {
    color: #111111;
}

.qual-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qual-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.97rem;
    line-height: 1.4;
    white-space: nowrap;
}

.qual-no .qual-list li {
    color: #555555;
}

.qual-no .qual-list li span {
    color: #ff4d4d;
    font-weight: bold;
    font-size: 1rem;
}

.qual-yes .qual-list li {
    color: #222222;
}

.qual-yes .qual-list li span {
    color: #111111;
    font-weight: bold;
    font-size: 1rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 920px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #111111;
    border: 1px solid #222222;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.testimonial-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
}

.author {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    text-align: left;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0;
}

.author-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {

    .qualification-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.6;
}

/* CTA Specific Override */
.cta-input-override {
    background-color: #fafafa;
    border: 2px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 18px;
    padding-left: 1.5rem;
    padding-right: 3.5rem;
}

.cta-input-override::placeholder {
    font-size: 18px;
}

.cta-input-override:focus {
    background-color: #ffffff;
    border-color: var(--color-accent);
}

/* Package Buttons */
.pkg-btn {
    display: inline-block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #111111;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-family: var(--font-heading);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #111111;
}

.pkg-btn:hover {
    background-color: var(--color-accent);
    color: #111111;
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.package-card.package-featured .pkg-btn {
    background-color: var(--color-accent);
    color: #111111;
    border-color: var(--color-accent);
}


/* Footer Styles */
.site-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    /* Upravené šírky stĺpcov pre lepšie vizuálne rozloženie */
    grid-template-columns: 1.5fr minmax(max-content, 1.2fr) 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-block {
    display: flex;
    flex-direction: column;
}

/* Navigácia a Kontakt - Zarovnanie doľava s vizuálnym posunom */
.footer-block:nth-child(3) {
    text-align: left;
    align-items: flex-start;
    padding-left: 2rem;
    /* Posun Navigácie trochu doprava */
}

.footer-block:nth-child(4) {
    text-align: left;
    align-items: flex-start;
    margin-left: -2rem;
    /* Posun Kontaktu trochu doľava k strednej osi */
}

/* Ensure the list also aligns left */
.footer-block:nth-child(4) ul {
    text-align: left;
}

/* Zmenšenie medzery v druhom stĺpci "Oblasti pôsobenia" a treťom "Navigácia" */
.footer-block:nth-child(2) .footer-links li,
.footer-block:nth-child(3) .footer-links li {
    margin-bottom: 0.25rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-logo {
    height: 72px;
    width: auto;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

.footer-text {
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-title {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.contact-info li span {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    /* Reset desktop offsets */
    .footer-block:nth-child(3) {
        padding-left: 0;
    }
    .footer-block:nth-child(4) {
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* ── ORSR Autocomplete Dropdown ─────────────────────────────────────────── */
.search-wrapper {
    position: relative;
}

.orsr-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 0.4rem 0;
    margin: 0;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}

.orsr-dropdown.open {
    display: block;
}

.orsr-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text-main);
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.orsr-item:last-child {
    border-bottom: none;
}

.orsr-item:hover {
    background: #f5f5f5;
}

.orsr-loading,
.orsr-empty {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    list-style: none;
}

/* ── ORSR Detail Card ───────────────────────────────────────────────────── */
.orsr-detail {
    margin-top: 1rem;
    background: #f9f9f9;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.orsr-detail-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-main);
    margin-bottom: 0.6rem;
}

.orsr-detail-row {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.orsr-detail-row span {
    font-weight: 600;
    color: var(--color-text-main);
}

.orsr-detail-loading {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ── ORSR Stepper: Zástupca + Kontakt ───────────────────────────────────── */
.orsr-company-info {
    margin-bottom: 0.25rem;
}

.orsr-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1rem 0;
}

.orsr-step-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

/* Representative list */
.orsr-rep-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.orsr-rep-item {
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    color: var(--color-text-main);
}

.orsr-rep-item:hover {
    background: #f5f5f5;
    border-color: var(--color-accent);
}

.orsr-rep-divider {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0.75rem 0 0.5rem;
}

/* Custom rep input area */
.orsr-rep-custom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.orsr-rep-custom .orsr-rep-custom-btn {
    align-self: flex-start;
}

.orsr-rep-custom-btn {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    background: var(--color-text-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.orsr-rep-custom-btn:hover {
    opacity: 0.8;
}

/* Contact form */
.orsr-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.orsr-rep-selected {
    background: #f9f9f9;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.orsr-input-label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.orsr-input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}

.orsr-input:focus {
    border-color: var(--color-accent);
}

.orsr-submit-btn {
    align-self: flex-start;
    padding: 0.7rem 2rem;
    background: var(--color-accent);
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.orsr-submit-btn:hover:not(:disabled) {
    opacity: 0.85;
}

.orsr-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ── ORSR Button row (Späť + Odoslať) ───────────────────────────────────── */
.orsr-btn-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.orsr-back-btn {
    padding: 0.7rem 1.5rem;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.orsr-back-btn:hover:not(:disabled) {
    opacity: 0.75;
}

.orsr-back-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Required field error state */
.orsr-input-error {
    border-color: #e53e3e !important;
    background: #fff5f5;
}

/* ── RPO — new elements ──────────────────────────────────────────────────── */

/* Dropdown item: two-line layout (name + meta) */
.orsr-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.orsr-item-name {
    font-size: 0.95rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.orsr-item-meta {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* Legal form / source-register badge below company name in detail card */
.orsr-legal-form-badge,
.orsr-source-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.6rem;
}

/* Role badge next to representative name in picker list */
.orsr-rep-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.orsr-rep-role-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}


/* ───────────────────────────────────────────────────────── */
/* Additional custom styles for o-nas.html */
/* ───────────────────────────────────────────────────────── */
/* Additional custom styles for o-nas.html that complement index.html styles */

.on-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}

.on-hero-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--color-border);
}

.on-change-block {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    background: #111111;
    /* Match feature-card-dark */
    color: white;
    border-left: 3px solid var(--color-accent);
    border-radius: 0 16px 16px 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.on-change-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    /* Match feature-title */
    white-space: nowrap;
    padding-top: 0.1rem;
}

.on-change-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 3rem;
}

.on-change-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.6;
}

.on-change-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.feature-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.feature-list-check li::before {
    content: "✓";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* photo placeholder */
.on-photo-placeholder {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    min-height: 320px;
}

@media (max-width: 800px) {
    .on-change-block {
        flex-direction: column;
        gap: 1rem;
    }

    .on-change-list {
        grid-template-columns: 1fr;
    }
}

/* ── Výsledky (vysledky.html) ──────────────────────────────────────────── */

.vyr-hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
    flex: none;
}

.vyr-hero .on-hero-container {
    max-width: 760px;
}

.vyr-hero-title {
    margin-bottom: 2.4rem;
}

.vyr-hero-sub {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vyr-sub-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.2;
    margin: 0;
}

.vyr-sub-body {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 500;
    max-width: 620px;
    margin: 0 auto;
}

/* ── Výsledky — karty s príkladmi ─────────────────────────────────────── */

.vyr-cases-section {
    padding: 0 0 7rem;
}

.vyr-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.vyr-case-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2rem 2rem 2.4rem;
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    background: #fafafa;
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.vyr-case-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.vyr-case-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.35;
    margin: 0;
}

.vyr-case-metric {
    border-left: 3px solid var(--color-accent);
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vyr-metric-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    color: var(--color-text-muted);
}

.vyr-metric-value {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    font-weight: 900;
    color: var(--color-text-main);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.vyr-case-desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

@media (max-width: 960px) {
    .vyr-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .vyr-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Výsledky — záverečný text ────────────────────────────────────────── */

.vyr-closing-section {
    padding: 0 0 7rem;
}

.vyr-closing-block .on-closing-cta {
    padding: 0.9rem 1.6rem;
    background-color: var(--color-accent);
    color: #111111;
}

.vyr-closing-block .on-closing-cta:hover {
    background-color: #111111;
    color: #ffffff;
}

.vyr-closing-block {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vyr-closing-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.vyr-closing-body {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

.vyr-closing-punch {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
    margin: 0.5rem 0 0;
}

/* ======================================
   BLOG — listing page (blg-)
   ====================================== */

.blg-hero { padding-top: 4rem; padding-bottom: 3rem; flex: none; }
.blg-hero .on-hero-container { max-width: 760px; }
.blg-hero-title { margin-bottom: 1.2rem; }

.blg-hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blg-search-wrap { position: relative; max-width: 480px; margin: 0 auto; }

.blg-filters-wrap { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

.blg-filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; }

.blg-filter-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.blg-filter-btn {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1.5px solid var(--color-border);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
    line-height: 1.4;
}
.blg-filter-btn:hover { border-color: var(--color-accent); color: var(--color-text-main); }
.blg-filter-btn.active { border-color: var(--color-accent); background: var(--color-accent); color: #1a1a1a; font-weight: 600; }

.blg-search-input {
    width: 100%;
    padding: 0.75rem 1.1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.blg-search-input:focus { border-color: var(--color-accent); }

.blg-grid-section { padding: 0 0 7rem; }

.blg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blg-card {
    display: flex;
    flex-direction: column;
    padding: 1.8rem 1.6rem;
    border: 1.5px solid var(--color-border);
    border-radius: 16px;
    background: #fafafa;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.blg-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}

.blg-card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.blg-card-cat {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    background: rgba(250, 204, 21, 0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.blg-card-date {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.blg-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-main);
    margin: 0 0 0.75rem;
}

.blg-card-excerpt {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex: 1;
    margin: 0 0 1.2rem;
}

.blg-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-accent);
}

.blg-empty {
    text-align: center;
    color: var(--color-text-muted);
    padding: 3rem 0;
    font-size: 1rem;
}

@media (max-width: 960px) { .blg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .blg-grid { grid-template-columns: 1fr; } }

/* ======================================
   BLOG — individual article page (art-)
   ====================================== */

.art-loading,
.art-notfound {
    text-align: center;
    padding: 6rem 1rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}
.art-notfound a { color: var(--color-accent); }

.art-breadcrumb {
    padding-top: 2.5rem;
    padding-bottom: 0;
    font-size: 0.9rem;
}
.art-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.art-breadcrumb a:hover { color: var(--color-accent); }

.art-header {
    max-width: 760px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.art-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}
.art-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: var(--color-text-main);
}
.art-excerpt {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 1.2rem;
}
/* Deliaca čiara pod hlavičkou článku */
.art-divider {
    border: none;
    border-top: 1.5px solid var(--color-border);
    max-width: 760px;
    margin: 0 auto 0;
}

/* Rich text content from Quill */
.art-content {
    max-width: 760px;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    line-height: 1.8;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--color-text-main);
}
.art-content h1,
.art-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 900;
    line-height: 1.2;
    margin: 2.5rem 0 0.8rem;
    color: var(--color-text-main);
}
.art-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 2rem 0 0.6rem;
    color: var(--color-text-main);
}
.art-content h4 {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: var(--color-text-main);
}
/* Quill prázdne odseky — skryť nadbytočné medzery */
.art-content p:empty,
.art-content p:has(> br:only-child) { display: none; }
.art-content p { margin: 0 0 1rem; }
.art-content ul,
.art-content ol { padding-left: 1.5rem; margin: 0 0 1.2rem; }
.art-content li { margin-bottom: 0.4rem; }
.art-content strong { font-weight: 600; }
.art-content a { color: var(--color-accent); }
.art-content blockquote {
    border-left: 3px solid var(--color-accent);
    margin: 1.5rem 0;
    padding: 0.8rem 1.2rem;
    background: rgba(250, 204, 21, 0.06);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-text-muted);
}

.art-cta-section {
    max-width: 760px;
    padding-bottom: 6rem;
}

/* ─── Art-content: tables ──────────────────────────────────── */
.art-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-size: 0.97rem;
    border-radius: 8px;
    overflow: hidden;
}
.art-content th,
.art-content td {
    border: 1px solid var(--color-border, #e5e7eb);
    padding: 0.65rem 1rem;
    text-align: left;
    vertical-align: top;
}
.art-content th {
    background: rgba(250, 204, 21, 0.12);
    font-weight: 600;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 0.93rem;
    letter-spacing: 0.01em;
}
.art-content tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.025);
}
.art-content tr:hover td {
    background: rgba(250, 204, 21, 0.05);
}

/* ─── Art-content: code blocks (Quill outputs .ql-syntax) ─── */
.art-content pre,
.art-content .ql-syntax {
    background: #1a1a2e;
    color: #e2e8f0;
    padding: 1.1rem 1.4rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    border: 1px solid rgba(255,255,255,0.06);
}
.art-content code {
    background: rgba(250, 204, 21, 0.1);
    color: var(--color-text-main);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    border: 1px solid rgba(250, 204, 21, 0.2);
}
/* Don't double-style code inside pre */
.art-content pre code,
.art-content .ql-syntax code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
}

/* ─── Art-content: images ────────────────────────────────────── */
.art-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
/* Quill wraps images in a p — remove its bottom margin */
.art-content p:has(> img:only-child) {
    margin-bottom: 0;
}

/* ─── Art-content: Quill alignment helpers ───────────────────── */
.art-content .ql-align-center { text-align: center; }
.art-content .ql-align-right  { text-align: right; }
.art-content .ql-align-justify { text-align: justify; }

/* ─── Art-content: Quill indent ─────────────────────────────── */
.art-content .ql-indent-1 { padding-left: 2em; }
.art-content .ql-indent-2 { padding-left: 4em; }
.art-content .ql-indent-3 { padding-left: 6em; }

