/* ============================= */
/* contenedores de villa         */
/* ============================= */

.transparencia-villa {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.transp-header {
    text-align: center;
    margin-bottom: 60px;
}

.transp-logo {
    width: 120px;
    margin-bottom: 18px;
}

.transp-title {
    font-size: 27px;
    color: #27a620;
}
.transp-desc {
    font-size: 18px;
    color: #444;
}

/* Grid estilo Tizayuca */
.transp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

/* Tarjeta */
.transp-card {
    background: #ffffff;
    padding: 26px 22px;
    border-radius: 18px;
    text-align: center;
    color: #221f1f;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    border: 2px solid #97732c22; /* borde oro suave */
}

.transp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.14);
    border-color: #97732c;
}

/* Icono romano */
.transp-icon {
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}

/* Título */
.transp-card h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
/* Estilos para subtítulos */
.aviso-subtitle {
    font-size: 1.5rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Estilos para la página de Armonización Contable */
.aviso-subtitle {
    font-size: 1.5rem;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.aviso-title {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 700;
}

.aviso-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.aviso-years {
    margin-top: 1.5rem;
}

.aviso-year-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.aviso-year-row:last-child {
    border-bottom: none;
}

.aviso-year {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.aviso-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 1rem;
}

.aviso-download {
    background: #2c5282;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.aviso-download:hover {
    background: #1a365d;
}

.aviso-download-icon {
    font-size: 1rem;
}

.aviso-info {
    color: #666;
    font-style: italic;
    padding: 0.5rem;
}

.aviso-download-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Para los diferentes tipos de archivos */
.aviso-download.pdf {
    background: #c53030;
}

.aviso-download.excel {
    background: #217346;
}

.aviso-download.image {
    background: #805ad5;
}

/* Para agrupar múltiples enlaces en una fila */
.aviso-download-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.armonizacion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.armonizacion-header {
    text-align: center;
    margin-bottom: 3rem;
}

.armonizacion-title {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 700;
}

.armonizacion-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.armonizacion-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    font-size: 1.5rem;
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.documento-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.documento-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.documento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.documento-icon {
    font-size: 1.5rem;
}

.documento-category {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.documento-title {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    min-height: 60px;
}

.documento-btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem;
    background: #2c5282;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
}

.documento-btn:hover {
    background: #1a365d;
}

/* Estilos para Excel */
.documento-card .documento-icon[data-icon="excel"],
.documento-card .documento-category[data-category="Excel"] {
    background: #217346;
    color: white;
}

.documento-card .documento-btn[data-type="excel"] {
    background: #217346;
}

.documento-card .documento-btn[data-type="excel"]:hover {
    background: #1a5c38;
}

/* Estilos para Info Box */
.info-box {
    background: #ebf8ff;
    border: 1px solid #90cdf4;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 2rem;
    color: #3182ce;
}

.info-content h4 {
    color: #2c5282;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #4a5568;
    margin: 0;
}

/* Estilos para Empty Box */
.empty-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.empty-icon {
    font-size: 2rem;
    color: #a0aec0;
}

.empty-content h4 {
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.empty-text {
    color: #718096;
    font-style: italic;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .documentos-grid {
        grid-template-columns: 1fr;
    }
    
    .armonizacion-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .documento-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .documento-title {
        min-height: auto;
    }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .transparencia-villa {
        padding: 40px 20px;
    }

    .transp-card {
        padding: 22px 18px;
    }
}
