/* =============================================
   UPVC – Technical Information
   ============================================= */

.upvc-techinfo {
    --upvc-ti-brand: #013a4f;
    --upvc-ti-accent: #8CC73D;
    --upvc-ti-ink: #0d1a1f;
    --upvc-ti-text: #333;
    --upvc-ti-muted: #6b7780;
    --upvc-ti-border: #e3e8eb;
    --upvc-ti-card: #ffffff;
    --upvc-ti-surface: #f6f8f9;
}

/* ── Hero ── */

.upvc-techinfo__hero {
    background-color: var(--upvc-ti-ink);
    background-size: cover;
    background-position: center;
    padding: 56px 40px;
    position: relative;
}

.upvc-techinfo__hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 58, 79, 0.6);
}

.upvc-techinfo__hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.upvc-techinfo__hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--upvc-ti-accent);
    margin: 0 0 12px;
}

.upvc-techinfo__hero-title {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.15;
}

.upvc-techinfo__hero-sub {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0;
    line-height: 1.6;
}

/* ── Download List ── */

.upvc-techinfo__list {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upvc-techinfo__row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: var(--upvc-ti-card);
    border: 1px solid var(--upvc-ti-border);
    border-radius: 10px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.upvc-techinfo__row:hover,
.upvc-techinfo__row:focus-visible {
    border-color: var(--upvc-ti-brand);
    box-shadow: 0 6px 18px rgba(1, 58, 79, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
    outline: none;
}

.upvc-techinfo__row:focus-visible {
    box-shadow: 0 0 0 3px rgba(140, 199, 61, 0.35), 0 6px 18px rgba(1, 58, 79, 0.08);
}

/* Icon block */
.upvc-techinfo__icon {
    position: relative;
    flex: 0 0 auto;
    color: var(--upvc-ti-brand);
    width: 44px;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.upvc-techinfo__icon svg {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

.upvc-techinfo__ext {
    position: relative;
    z-index: 1;
    font-size: 9px;
    font-weight: 700;
    color: var(--upvc-ti-brand);
    background: #fff;
    padding: 2px 4px;
    border-radius: 2px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Meta */
.upvc-techinfo__meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.upvc-techinfo__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--upvc-ti-ink);
    line-height: 1.3;
}

.upvc-techinfo__size {
    font-size: 13px;
    color: var(--upvc-ti-muted);
}

/* Download pill (visual only — the whole row is the link) */
.upvc-techinfo__download {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--upvc-ti-brand);
    color: #ffffff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s ease;
    pointer-events: none;
}

.upvc-techinfo__row:hover .upvc-techinfo__download,
.upvc-techinfo__row:focus-visible .upvc-techinfo__download {
    background: var(--upvc-ti-accent);
}

.upvc-techinfo__download svg {
    flex: 0 0 auto;
}

/* ── Responsive ── */

@media (max-width: 640px) {
    .upvc-techinfo__hero {
        padding: 40px 20px;
    }
    .upvc-techinfo__hero-title {
        font-size: 28px;
    }
    .upvc-techinfo__list {
        padding: 28px 16px 48px;
        gap: 10px;
    }
    .upvc-techinfo__row {
        gap: 14px;
        padding: 14px 14px;
    }
    .upvc-techinfo__icon {
        width: 36px;
        height: 42px;
    }
    .upvc-techinfo__title {
        font-size: 15px;
    }
    .upvc-techinfo__download span {
        display: none;
    }
    .upvc-techinfo__download {
        padding: 10px 12px;
    }
}
