/* ============================================
   VIDEO FACADE - Lazy Load YouTube
   ============================================ */
.video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease;
}

.video-facade:hover::after {
    background: rgba(0, 0, 0, 0.35);
}

.video-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: #ff0000;
    border-radius: var(--radius-md);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.video-facade:hover .video-facade__play {
    background: #cc0000;
    transform: translate(-50%, -50%) scale(1.05);
}

.video-facade__play::after {
    content: '';
    border: solid #fff;
    border-width: 0 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}

.video-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   IMAGE GALLERY - Lightbox
   ============================================ */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.image-gallery__item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-gallery__item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.lightbox.is-open {
    display: flex;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ============================================
   COUNTRY FLAG BADGE
   ============================================ */
.country-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: #5a6b7d;
}

.country-badge__flag {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

.country-badge__flag svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   TECHNICAL DOCUMENTS
   ============================================ */
.tech-docs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-docs__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-bg-card);
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-docs__item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(42, 157, 143, 0.1);
}

.tech-docs__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.tech-docs__info {
    flex: 1;
    min-width: 0;
}

.tech-docs__title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.tech-docs__meta {
    font-size: 0.75rem;
    color: #5a6b7d;
}