/* ============================================================
   Architecture Cards - IAWare Regista
   ============================================================ */
.regista-arch-cards {
    margin-top: 2rem;
}

.regista-arch-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
    background: #fff;
    height: 100%;
}

.regista-arch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.regista-arch-card-img {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.regista-arch-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    display: block;
}

.regista-arch-card:hover .regista-arch-card-img img {
    transform: scale(1.07);
}

.regista-arch-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,30,60,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.regista-arch-card-overlay i {
    font-size: 2rem;
}

.regista-arch-card:hover .regista-arch-card-overlay {
    opacity: 1;
}

.regista-arch-card-body {
    padding: 1.25rem 1.4rem 1.4rem;
}

.regista-arch-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057B8, #00AEEF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.regista-arch-card-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1e3c;
    margin-bottom: 0.4rem;
}

.regista-arch-card-body p {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   Architecture Modals
   ============================================================ */
.arch-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,15,35,0.72);
    z-index: 9000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.arch-modal-backdrop.arch-modal-backdrop-open {
    display: block;
    animation: archBackdropIn 0.25s ease;
}

@keyframes archBackdropIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.arch-modal-body-lock {
    overflow: hidden;
}

.arch-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9100;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.arch-modal.arch-modal-open {
    display: flex;
    animation: archModalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes archModalIn {
    from { opacity: 0; transform: scale(0.93) translateY(30px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

.arch-modal-dialog {
    background: #fff;
    border-radius: 18px;
    max-width: 860px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    position: relative;
    display: flex;
    flex-direction: column;
}

.arch-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.arch-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.arch-modal-img {
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #f0f4f8;
}

.arch-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 380px;
}

.arch-modal-body {
    padding: 2rem 2.4rem 2.4rem;
}

.arch-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0057B8, #00AEEF);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.arch-modal-body h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0a1e3c;
    margin-bottom: 0.9rem;
}

.arch-modal-body p {
    font-size: 0.97rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.arch-modal-principles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arch-modal-principles li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: #1a3a6b;
    font-weight: 600;
}

.arch-modal-principles li i {
    color: #00AEEF;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .arch-modal-dialog {
        max-height: 95vh;
    }

    .arch-modal-body {
        padding: 1.4rem 1.2rem 1.6rem;
    }

    .arch-modal-img,
    .arch-modal-img img {
        max-height: 220px;
    }

    .arch-modal-body h3 {
        font-size: 1.25rem;
    }

    .regista-arch-card-img {
        height: 170px;
    }
}
