/* Home — principal message and gallery */
.home-principal-gallery-section {
    padding: 48px 0 54px;
    background:
        radial-gradient(circle at 8% 15%, rgba(249, 200, 51, 0.08) 0%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-principal-gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.home-pg-principal-card,
.home-pg-gallery-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(6, 26, 40, 0.08);
    box-shadow: 0 18px 44px rgba(6, 26, 40, 0.1);
}

.home-pg-principal-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 200, 51, 0.18) 0%, transparent 42%),
        linear-gradient(135deg, #04121c 0%, #061a28 60%, #081f2f 100%);
}

.home-pg-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.home-pg-principal-content,
.home-pg-gallery-card {
    padding: 30px;
}

.home-pg-principal-content {
    position: relative;
    z-index: 1;
}

.home-pg-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 13px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #061a28;
    background: rgba(249, 200, 51, 0.92);
    border-radius: 999px;
}

.home-pg-principal-card h2,
.home-pg-gallery-card h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

.home-pg-principal-card h2 {
    color: #ffffff;
}

.home-pg-gallery-card h2 {
    color: #04121c;
}

.home-pg-principal-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 18px;
}

.home-pg-principal-photo-wrap {
    width: 82px;
    height: 82px;
    padding: 4px;
    flex: 0 0 82px;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(249, 200, 51, 0.28);
}

.home-pg-principal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: block;
}

.home-pg-principal-profile h3 {
    margin: 0 0 4px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.18rem;
    color: #ffffff;
}

.home-pg-principal-profile p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.68);
}

.home-pg-principal-message {
    margin: 0 0 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.home-pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-pg-btn--primary {
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    box-shadow: 0 8px 22px rgba(249, 200, 51, 0.25);
}

.home-pg-btn--outline {
    color: #061a28;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.12);
}

.home-pg-btn:hover,
.home-pg-btn:focus {
    transform: translateY(-2px);
    text-decoration: none;
    outline: none;
}

.home-pg-gallery-card {
    background: #ffffff;
}

.home-pg-gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.home-pg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-pg-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #04121c 0%, #061a28 100%);
    border-radius: 16px;
    text-decoration: none;
}

.home-pg-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.home-pg-gallery-item:hover img {
    transform: scale(1.06);
}

.home-pg-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(4, 18, 28, 0.82) 100%);
}

.home-pg-gallery-item span:not(.home-pg-gallery-placeholder) {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
}

.home-pg-gallery-placeholder,
.home-pg-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pg-gallery-placeholder {
    width: 100%;
    height: 100%;
    color: #f9c833;
}

.home-pg-gallery-placeholder i {
    font-size: 2rem;
}

.home-pg-gallery-empty {
    min-height: 260px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed rgba(6, 26, 40, 0.18);
    border-radius: 16px;
}

.home-pg-gallery-empty i {
    font-size: 2rem;
    color: #f0b429;
}

.home-pg-gallery-empty p {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 991px) {
    .home-principal-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .home-pg-principal-content,
    .home-pg-gallery-card {
        padding: 22px;
    }

    .home-pg-gallery-header {
        flex-direction: column;
    }

    .home-pg-gallery-grid {
        grid-template-columns: 1fr;
    }
}
