/* ============================================================
   VDD Orava — primary stylesheet
   Organization (DiamondClinic-style):
     1. Variables (brand tokens)
     2. Reset / base
     3. Typography utilities
     4. Layout primitives (container, section, grid)
     5. Buttons
     6. Form elements
     7. Reusable components
   ============================================================ */

/* === 1. Variables ====================================================== */
:root {
    /* Brand palette */
    --vdd-green-dark:  #414E47;
    --vdd-green:       #718472;
    --vdd-green-light: #91A192;
    --vdd-sage:        #BAAAA0;
    --vdd-ink:         #111518;
    --vdd-paper:       #F4F1EE;
    --vdd-paper-deep:  #EAE6E1;
    --vdd-line:        #E5DED8;
    --vdd-white:       #ffffff;
    --vdd-text:        #2f3633;
    --vdd-text-muted:  #6B6F6D;

    /* Typography */
    --vdd-font-display: "Mulish", system-ui, -apple-system, sans-serif;
    --vdd-font-body:    "Roboto", system-ui, sans-serif;
    --vdd-font-button:  "Bebas Neue", cursive;

    /* Spacing */
    --vdd-space-xs: 8px;
    --vdd-space-sm: 16px;
    --vdd-space-md: 24px;
    --vdd-space-lg: 48px;
    --vdd-space-xl: 96px;

    /* Layout */
    --vdd-container: 1280px;
    --vdd-container-narrow: 880px;

    /* Z-index */
    --vdd-z-header: 50;
}

/* === 2. Base text colors =============================================== */
.vdd-text-muted { color: var(--vdd-text-muted); }
.vdd-text-ink { color: var(--vdd-ink); }
.vdd-text-white { color: var(--vdd-white); }

/* === 3. Typography ===================================================== */
.vdd-heading {
    font-family: var(--vdd-font-display) !important;
    font-size: 44px !important;
    line-height: 1.1 !important;
    color: var(--vdd-ink) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-wrap: pretty;
    white-space: break-spaces !important;
    word-spacing: normal !important;
}
@media (max-width: 900px) { .vdd-heading { font-size: 32px !important; } }

.vdd-heading--md { font-size: 32px !important; }
@media (max-width: 900px) { .vdd-heading--md { font-size: 26px !important; } }

.vdd-eyebrow {
    display: block !important;
    font-family: var(--vdd-font-display) !important;
    color: var(--vdd-green) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
}
.vdd-eyebrow--tight { margin-bottom: 8px !important; }
.vdd-eyebrow--light { color: var(--vdd-sage) !important; }

.vdd-lead {
    color: var(--vdd-text);
    font-size: 1.125rem;
    line-height: 1.65;
    margin: 0;
}

/* === 4. Layout primitives ============================================== */
.vdd-container {
    max-width: var(--vdd-container);
    margin: 0 auto;
    padding: 0 var(--vdd-space-md);
}
.vdd-container--narrow { max-width: var(--vdd-container-narrow); }

.vdd-section { padding: var(--vdd-space-xl) var(--vdd-space-md); }
.vdd-section--paper { background: var(--vdd-paper); }
.vdd-section--paper-deep { background: var(--vdd-paper-deep); }
.vdd-section--dark { background: var(--vdd-green-dark); color: var(--vdd-white); }
.vdd-section--white { background: var(--vdd-white); }

@media (max-width: 900px) {
    .vdd-section { padding: 56px var(--vdd-space-sm); }
}

.vdd-grid {
    display: grid;
    gap: var(--vdd-space-md);
}
.vdd-grid--2col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.vdd-grid--3col { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.vdd-grid--4col { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.vdd-stack > * + * { margin-top: var(--vdd-space-md); }
.vdd-stack--sm > * + * { margin-top: var(--vdd-space-sm); }
.vdd-stack--lg > * + * { margin-top: var(--vdd-space-lg); }

/* === 5. Buttons (see vendor.css for legacy vendor compat) ====== */
/* .vdd-btn--primary, .vdd-btn--secondary are defined alongside Corgan
   .sc_button overrides in vendor.css to share rules. */

/* === 6. Form elements ================================================== */
.vdd-form-row {
    display: grid;
    gap: var(--vdd-space-sm);
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
    .vdd-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* === 7. Reusable components ============================================ */

/* Page hero (subpages) */
.vdd-page-hero {
    padding: 280px var(--vdd-space-md) 140px;
    background-size: cover;
    background-position: center;
    color: var(--vdd-white);
}
.vdd-page-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.vdd-page-hero__title { color: var(--vdd-white) !important; }
.vdd-page-hero__description {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    line-height: 1.65;
    max-width: 760px;
    margin: 24px auto 0;
}
@media (max-width: 768px) {
    .vdd-page-hero { padding: 140px var(--vdd-space-sm) 56px; }
}

/* Trust strip */
.vdd-trust-strip {
    background: var(--vdd-green-dark);
    color: var(--vdd-white);
    padding: 64px var(--vdd-space-md);
}
.vdd-trust-strip__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}
.vdd-trust-strip__title {
    font-family: var(--vdd-font-button) !important;
    font-size: 2rem;
    color: var(--vdd-sage);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}
.vdd-trust-strip__desc {
    opacity: 0.85;
    margin-top: 10px;
    font-size: 0.95rem;
}

/* CTA banner */
.vdd-cta {
    padding: var(--vdd-space-xl) var(--vdd-space-md);
    background: var(--vdd-paper);
    text-align: center;
}
.vdd-cta__inner { max-width: 720px; margin: 0 auto; }
.vdd-cta__desc {
    font-size: 1.125rem;
    color: var(--vdd-text-muted);
    margin: 0 0 32px;
}

/* Contact list */
.vdd-contact-list { display: grid; gap: var(--vdd-space-md); }
.vdd-contact-list__label {
    display: block;
    font-family: var(--vdd-font-display);
    color: var(--vdd-green);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 8px;
}
.vdd-contact-list__value {
    font-size: 1.25rem;
    color: var(--vdd-ink);
    text-decoration: none;
    line-height: 1.5;
}
.vdd-contact-list__value a { color: inherit; text-decoration: none; }

/* Content card */
.vdd-card {
    background: var(--vdd-white);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.vdd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,21,24,0.12);
}
.vdd-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.vdd-card__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.vdd-card__body { padding: var(--vdd-space-md); }
.vdd-card__meta {
    display: flex; gap: var(--vdd-space-sm);
    color: var(--vdd-green);
    font-family: var(--vdd-font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}
.vdd-card__title {
    font-family: var(--vdd-font-display);
    font-size: 1.4rem;
    color: var(--vdd-ink);
    margin: 0 0 12px;
    line-height: 1.3;
}
.vdd-card__title a { color: inherit; text-decoration: none; }
.vdd-card__excerpt {
    color: var(--vdd-text-muted);
    font-size: 0.95rem;
    margin: 0 0 16px;
}

/* Section title block */
.vdd-section-title { text-align: center; margin-bottom: 48px; }
.vdd-section-title--left { text-align: left; }
.vdd-section-title__descr {
    color: var(--vdd-text-muted);
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 720px;
    margin: 16px auto 0;
}

/* Mobile contact strip */
.vdd-mobile-contact {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vdd-mobile-contact__item {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 0;
}
.vdd-mobile-contact__item:hover { color: var(--vdd-white); }

/* === Kontakt page ====================================================== */
.vdd-kontakt {
    padding: var(--vdd-space-xl) var(--vdd-space-md);
    background: var(--vdd-white);
}
.vdd-kontakt__grid {
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.vdd-kontakt__form-title {
    font-family: var(--vdd-font-display);
    font-size: 1.5rem;
    color: var(--vdd-ink);
    margin: 0 0 var(--vdd-space-md);
    font-weight: 700;
}
.vdd-kontakt__company {
    font-family: var(--vdd-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--vdd-ink);
    margin: 0 0 32px;
}
.vdd-kontakt .columns_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--vdd-space-sm);
}
.vdd-kontakt .columns_wrap > .column-1_1 { grid-column: 1 / -1; }
.vdd-kontakt .columns_wrap > .column-1_2 { width: 100% !important; max-width: none !important; }

.vdd-kontakt__consent {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.875rem;
    color: var(--vdd-text-muted);
    margin-bottom: var(--vdd-space-sm);
}
.vdd-kontakt__consent span { line-height: 1; }

@media (max-width: 900px) {
    .vdd-kontakt { padding: 48px 20px; }
    .vdd-kontakt__grid { grid-template-columns: 1fr; gap: 40px; }
    .vdd-kontakt .columns_wrap { grid-template-columns: 1fr; gap: 0; }
}

/* Kontakt select */
.vdd-kontakt__select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding: 12px 0;
    font-family: inherit;
    font-size: 1rem;
    color: var(--vdd-ink);
    outline: none;
}

/* === Blog page ========================================================= */
.vdd-blog-grid {
    display: grid;
    gap: var(--vdd-space-lg);
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    max-width: var(--vdd-container);
    margin: 0 auto;
    padding: var(--vdd-space-xl) var(--vdd-space-md);
}
.vdd-blog-grid__sidebar {
    position: sticky;
    top: 48px;
    align-self: start;
    padding: 8px 4px;
    background: transparent;
}
@media (max-width: 900px) {
    .vdd-blog-grid { grid-template-columns: 1fr; padding: 32px 16px; gap: 24px; }
    .vdd-blog-grid__content { order: 2; }
    .vdd-blog-grid__sidebar { order: 1; position: static !important; padding: 20px !important; background: var(--vdd-paper); }
    .vdd-blog-grid .posts_container { display: flex; flex-direction: column; gap: 28px; }
    .vdd-blog-grid .post_item.post_layout_band { display: flex !important; flex-direction: column !important; margin: 0 !important; }
    .vdd-blog-grid .post_item.post_layout_band .post_featured { width: 100% !important; max-width: 100% !important; padding-top: 60% !important; height: auto !important; margin: 0 !important; }
    .vdd-blog-grid .post_item.post_layout_band .post_content_wrap { width: 100% !important; padding: 20px 20px 24px !important; margin: 0 !important; background: var(--vdd-white); }
    .vdd-blog-grid .post_item.post_layout_band .post_title { margin: 6px 0 !important; font-size: 1.15rem !important; line-height: 1.25 !important; }
}

/* === Služby — process steps =========================================== */
.vdd-steps {
    display: grid;
    gap: var(--vdd-space-md);
    max-width: 1100px;
    margin: 0 auto;
}
.vdd-step {
    background: var(--vdd-white);
    padding: 40px;
    display: grid;
    gap: var(--vdd-space-md);
    grid-template-columns: 80px 1fr;
    align-items: start;
}
.vdd-step__no {
    font-family: var(--vdd-font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--vdd-green-light);
    line-height: 1;
}
.vdd-step__title {
    font-family: var(--vdd-font-display);
    font-size: 1.5rem;
    color: var(--vdd-ink);
    margin: 0 0 12px;
    font-weight: 700;
}
.vdd-step__desc {
    color: var(--vdd-text-muted);
    font-size: 1.0625rem;
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 768px) {
    .vdd-step { grid-template-columns: 1fr; gap: 12px; padding: 28px var(--vdd-space-md); }
    .vdd-step__no { font-size: 2.25rem; }
    .vdd-step__title { font-size: 1.25rem; margin: 0 0 8px; }
    .vdd-step__desc { font-size: 1rem; }
}

/* === Category card (used on /produkty + home /home/categories) ========= */
.vdd-cat-card {
    background: var(--vdd-white);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.vdd-cat-card--paper { background: var(--vdd-paper); }
.vdd-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,21,24,0.12);
}
.vdd-cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.vdd-cat-card__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.vdd-cat-card__body { padding: var(--vdd-space-md); }
.vdd-cat-card__title {
    font-family: var(--vdd-font-display);
    font-size: 1.25rem;
    color: var(--vdd-ink);
    margin: 0 0 8px;
    font-weight: 700;
}
.vdd-cat-card__excerpt {
    color: var(--vdd-text-muted);
    font-size: 0.95rem;
    margin: 0 0 12px;
    line-height: 1.55;
}
.vdd-cat-card__more {
    color: var(--vdd-green);
    font-family: var(--vdd-font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* === Produkty page sections =========================================== */
.vdd-produkty__okna { padding: var(--vdd-space-xl) 0 64px; background: var(--vdd-paper); }
.vdd-produkty__dvere { padding: 64px 0 var(--vdd-space-xl); background: var(--vdd-white); }
.vdd-produkty__inner {
    max-width: var(--vdd-container);
    margin: 0 auto;
    padding: 0 var(--vdd-space-md);
}
.vdd-produkty__grid {
    display: grid;
    gap: var(--vdd-space-md);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* === Tieniaca technika sections ======================================== */
.vdd-tienenie {
    padding: var(--vdd-space-xl) var(--vdd-space-md);
    background: var(--vdd-white);
}
.vdd-tienenie__list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}
.vdd-tienenie__item {
    background: var(--vdd-paper);
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
    align-items: stretch;
    overflow: hidden;
    min-height: 360px;
}
.vdd-tienenie__media {
    overflow: hidden;
    position: relative;
    min-height: 280px;
}
.vdd-tienenie__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vdd-tienenie__body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.vdd-tienenie__num {
    font-family: var(--vdd-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--vdd-green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.vdd-tienenie__title {
    font-family: var(--vdd-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vdd-ink);
    margin: 0 0 var(--vdd-space-sm);
    line-height: 1.2;
}
.vdd-tienenie__desc {
    color: var(--vdd-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}
.vdd-tienenie__item--reverse .vdd-tienenie__media { order: 2; }
.vdd-tienenie__item--reverse .vdd-tienenie__body { order: 1; }

@media (max-width: 768px) {
    .vdd-tienenie__item, .vdd-tienenie__item--reverse {
        grid-template-columns: 1fr;
    }
    .vdd-tienenie__item--reverse .vdd-tienenie__media,
    .vdd-tienenie__item--reverse .vdd-tienenie__body { order: initial; }
    .vdd-tienenie__body { padding: 28px 24px; }
    .vdd-tienenie__title { font-size: 1.35rem; }
}

/* === Produkt (single category) page =================================== */
.vdd-produkt {
    padding: var(--vdd-space-xl) 0;
}
.vdd-produkt__inner {
    max-width: var(--vdd-container);
    margin: 0 auto;
    padding: 0 var(--vdd-space-md);
}
.vdd-produkt__split {
    display: grid;
    gap: var(--vdd-space-lg);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}
.vdd-produkt__text p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--vdd-text);
    margin-bottom: 20px;
}
.vdd-produkt__cta {
    display: inline-block;
    margin-top: var(--vdd-space-md);
}
.vdd-produkt__image img {
    width: 100%;
    display: block;
    box-shadow: 0 16px 40px rgba(17,21,24,0.12);
}
@media (max-width: 768px) {
    .vdd-produkt { padding: 32px 0 40px; }
    .vdd-produkt__text { order: 2; }
    .vdd-produkt__image { order: 1; }
    .vdd-produkt__split { gap: var(--vdd-space-md); }
}

.vdd-models { padding: var(--vdd-space-xl) var(--vdd-space-md); background: var(--vdd-paper); }
.vdd-models__inner { max-width: 1280px; margin: 0 auto; }
.vdd-models__list {
    display: grid;
    gap: var(--vdd-space-md);
}
.vdd-model-card {
    background: var(--vdd-white);
    padding: 40px;
    display: grid;
    gap: var(--vdd-space-md);
    grid-template-columns: 200px 1fr;
    align-items: start;
}
.vdd-model-card__title {
    font-family: var(--vdd-font-display);
    font-size: 1.5rem;
    color: var(--vdd-ink);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}
.vdd-model-card__desc {
    color: var(--vdd-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) {
    .vdd-models { padding: 48px 16px; }
    .vdd-models .vdd-heading { font-size: 1.6rem; }
    .vdd-model-card { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
    .vdd-model-card__title { font-size: 1.25rem; }
    .vdd-model-card__desc { font-size: 1rem; }
}

/* Model image gallery (cross-sections, 3D renders) */
.vdd-model-grid {
    display: grid;
    gap: var(--vdd-space-md);
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.vdd-model-figure {
    margin: 0;
    background: var(--vdd-white);
    box-shadow: 0 8px 24px rgba(17,21,24,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vdd-model-figure__media {
    flex: 1 1 auto;
    padding: var(--vdd-space-md);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.vdd-model-figure__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.vdd-model-figure__caption {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding: var(--vdd-space-md) !important;
    font-family: var(--vdd-font-display);
    font-size: 0.95rem;
    color: var(--vdd-ink);
    text-align: center;
    border-top: 1px solid var(--vdd-line);
    font-weight: 600;
}

/* === Single article page ============================================== */
.vdd-article-hero {
    padding: 280px var(--vdd-space-md) 100px;
    background-size: cover;
    background-position: center;
    color: var(--vdd-white);
}
.vdd-article-hero__inner {
    max-width: 880px;
    margin: 0 auto;
}
.vdd-article-hero__meta {
    display: flex;
    gap: var(--vdd-space-sm);
    color: var(--vdd-sage);
    font-family: var(--vdd-font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--vdd-space-sm);
}
.vdd-article-hero__meta a { color: inherit; text-decoration: none; }
.vdd-article-hero__title {
    font-family: var(--vdd-font-display) !important;
    font-size: 3rem !important;
    line-height: 1.2 !important;
    color: var(--vdd-white) !important;
    margin: 0 0 var(--vdd-space-md) !important;
    font-weight: 700 !important;
    text-wrap: balance;
}
.vdd-article-hero__excerpt {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.vdd-article {
    padding: 64px var(--vdd-space-md) var(--vdd-space-xl);
    background: var(--vdd-white);
}
.vdd-article__body {
    max-width: 720px;
    margin: 0 auto;
}
.vdd-article__body p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--vdd-text);
    margin: 0 0 var(--vdd-space-md);
}
.vdd-article__footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--vdd-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--vdd-space-sm);
}
.vdd-article__back {
    color: var(--vdd-green);
    font-family: var(--vdd-font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
}
@media (max-width: 768px) {
    .vdd-article-hero { padding: 140px 20px 56px; }
    .vdd-article-hero__title { font-size: 2rem !important; }
    .vdd-article-hero__excerpt { font-size: 1.0625rem; }
    .vdd-article { padding: 40px 20px 56px; }
}

/* === O nás — split section (image + text) ============================ */
.vdd-onas {
    padding: var(--vdd-space-xl) 0;
    background: var(--vdd-white);
}
.vdd-onas__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: var(--vdd-container);
    margin: 0 auto;
    padding: 0 var(--vdd-space-md);
}
.vdd-onas__image img {
    width: 100%;
    height: auto;
    display: block;
}
.vdd-onas__body p { color: var(--vdd-text); font-size: 1.0625rem; line-height: 1.7; margin: 0 0 var(--vdd-space-md); }
.vdd-onas__list {
    list-style: none;
    padding: 0;
    margin: var(--vdd-space-md) 0;
}
.vdd-onas__list li {
    padding: 8px 0 8px 32px;
    position: relative;
    color: var(--vdd-text);
    font-size: 1.0625rem;
}
.vdd-onas__list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 8px;
    color: var(--vdd-green);
    font-weight: 700;
}
@media (max-width: 900px) {
    .vdd-onas { padding: 48px 0; }
    .vdd-onas__split { grid-template-columns: 1fr; gap: 32px; }
    .vdd-onas__image { display: none; }
}

/* === Footer ============================================================ */
.vdd-footer {
    background: var(--vdd-ink);
    color: rgba(255,255,255,0.85);
    padding: 64px var(--vdd-space-md) 32px;
}
.vdd-footer__grid {
    max-width: var(--vdd-container);
    margin: 0 auto;
    display: grid;
    gap: var(--vdd-space-lg);
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 900px) {
    .vdd-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--vdd-space-md); }
}
@media (max-width: 560px) {
    .vdd-footer__grid { grid-template-columns: 1fr; }
}
.vdd-footer__logo img {
    display: block;
    margin-bottom: var(--vdd-space-md);
    max-width: 220px;
    height: auto;
}
.vdd-footer__title {
    font-family: var(--vdd-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vdd-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 var(--vdd-space-sm);
}
.vdd-footer__list { list-style: none; padding: 0; margin: 0; }
.vdd-footer__list li { padding: 6px 0; font-size: 0.95rem; }
.vdd-footer__list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.vdd-footer__list a:hover { color: var(--vdd-white); }
.vdd-footer__address p { margin: 0 0 var(--vdd-space-sm); font-size: 0.95rem; line-height: 1.6; }
.vdd-footer__address a { color: rgba(255,255,255,0.85); text-decoration: none; }
.vdd-footer__address a:hover { color: var(--vdd-white); }
.vdd-footer__socials {
    display: flex;
    gap: var(--vdd-space-sm);
    margin-top: var(--vdd-space-sm);
}
.vdd-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 0.2s;
}
.vdd-footer__socials a:hover { background: rgba(255,255,255,0.16); color: var(--vdd-white); }
.vdd-footer__bottom {
    max-width: var(--vdd-container);
    margin: var(--vdd-space-lg) auto 0;
    padding-top: var(--vdd-space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-align: center;
}
.vdd-footer__bottom a { color: var(--vdd-white); text-decoration: none; font-weight: 600; }

/* === Mobile menu contacts (phone + email below socials) =============== */
.menu_mobile_contacts {
    margin-top: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    font-family: var(--vdd-font-display);
    position: static !important;
    clear: both !important;
    width: 100% !important;
    /* Force below preceding flow content (nav + socials) */
    float: none !important;
}
.menu_mobile_contacts__item {
    color: var(--vdd-sage);
    text-decoration: none;
    font-size: 1.35rem;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
}
.menu_mobile_contacts__item:hover { color: var(--vdd-white); }

/* === Realizácia detail page =========================================== */
.vdd-project-hero {
    padding: 240px var(--vdd-space-md) 80px;
    background-size: cover;
    background-position: center;
    color: var(--vdd-white);
}
.vdd-project-hero__inner {
    max-width: 1000px;
    margin: 0 auto;
}
.vdd-project-hero__meta {
    display: flex;
    gap: var(--vdd-space-md);
    color: var(--vdd-sage);
    font-family: var(--vdd-font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--vdd-space-sm);
    flex-wrap: wrap;
}
.vdd-project-hero__meta a { color: inherit; text-decoration: none; }
.vdd-project-hero__title {
    font-family: var(--vdd-font-display) !important;
    font-size: 3rem !important;
    line-height: 1.1 !important;
    color: var(--vdd-white) !important;
    margin: 0 0 var(--vdd-space-md) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-wrap: balance;
}
.vdd-project-hero__description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    max-width: 760px;
    line-height: 1.55;
}

.vdd-project {
    background: var(--vdd-white);
    padding: var(--vdd-space-xl) var(--vdd-space-md);
}
.vdd-project__grid {
    max-width: var(--vdd-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}
.vdd-project__body p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--vdd-text);
    margin: 0 0 var(--vdd-space-md);
}
.vdd-project__sidebar {
    position: sticky;
    top: 48px;
    background: var(--vdd-paper);
    padding: 32px 28px;
}
.vdd-project__sidebar dl {
    display: grid;
    gap: var(--vdd-space-sm);
    margin: 0;
}
.vdd-project__sidebar dt {
    font-family: var(--vdd-font-display);
    color: var(--vdd-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.vdd-project__sidebar dd {
    margin: 0;
    color: var(--vdd-ink);
    font-size: 1.0625rem;
    padding-bottom: var(--vdd-space-sm);
    border-bottom: 1px solid var(--vdd-line);
}
.vdd-project__sidebar dd:last-child { border-bottom: 0; }
.vdd-project__footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--vdd-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--vdd-space-sm);
}
.vdd-project__back {
    color: var(--vdd-green);
    font-family: var(--vdd-font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: none;
}

@media (max-width: 900px) {
    .vdd-project-hero { padding: 140px 20px 56px; }
    .vdd-project-hero__title { font-size: 2rem !important; }
    .vdd-project-hero__description { font-size: 1.0625rem; }
    .vdd-project { padding: 48px 20px; }
    .vdd-project__grid { grid-template-columns: 1fr; gap: 32px; }
    .vdd-project__sidebar { position: static; }
}

/* Related projects strip (na konci detailu) */
.vdd-related {
    background: var(--vdd-paper);
    padding: var(--vdd-space-xl) var(--vdd-space-md);
}
.vdd-related__inner {
    max-width: var(--vdd-container);
    margin: 0 auto;
}
.vdd-related__grid {
    display: grid;
    gap: var(--vdd-space-md);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.vdd-related__card {
    display: block;
    background: var(--vdd-white);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}
.vdd-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,21,24,0.12);
}
.vdd-related__card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.vdd-related__card-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.vdd-related__card-body { padding: var(--vdd-space-md); }
.vdd-related__card-category {
    color: var(--vdd-green);
    font-family: var(--vdd-font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}
.vdd-related__card-title {
    font-family: var(--vdd-font-display);
    font-size: 1.15rem;
    color: var(--vdd-ink);
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
}

/* Realizácie homepage block — "Všetky realizácie" CTA pod gridom */
.vdd-portfolio-block__cta {
    text-align: center;
    margin-top: 48px;
}

/* Blog swiper homepage block — "Všetky články" CTA pod swiperom */
.vdd-blog-swiper__cta {
    text-align: center;
    margin-top: 48px;
}

/* === Form status / errors (success + validation banner) ============== */
.vdd-form-status {
    background: rgba(113, 132, 114, 0.12);
    border-left: 4px solid var(--vdd-green);
    color: var(--vdd-green-dark);
    padding: 16px 20px;
    margin-bottom: var(--vdd-space-md);
    font-size: 1rem;
    line-height: 1.5;
}
.vdd-form-errors {
    background: rgba(186, 170, 160, 0.15);
    border-left: 4px solid var(--vdd-sage);
    color: var(--vdd-ink);
    padding: 16px 20px;
    margin-bottom: var(--vdd-space-md);
    font-size: 0.95rem;
}
.vdd-form-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}
.vdd-form-errors li { padding: 2px 0; }
